Skip to content

Commit

Permalink
test(kmultiselect): fix component tests (#1936)
Browse files Browse the repository at this point in the history
  • Loading branch information
portikM committed Jan 15, 2024
1 parent 284b563 commit e131d42
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/KMultiselect/KMultiselect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ const popoverContentMaxHeight = computed((): string => getSizeFromString(props.d
const boundKPopAttributes = computed(() => ({ ...createKPopAttributes.value }))
const widthValue = computed(() => {
const w = props.width ? props.width : '200'
const w = props.width ? props.width : '300'
return getSizeFromString(w)
})
Expand Down Expand Up @@ -1017,9 +1017,9 @@ watch(() => props.items, (newValue, oldValue) => {
}
}, { deep: true, immediate: true })
const numericWidth = ref<number>(200)
const numericWidth = ref<number>(300)
const setNumericWidth = (): void => {
numericWidth.value = multiselectElement.value?.clientWidth || 200
numericWidth.value = multiselectElement.value?.clientWidth || 300
}
const resizeObserver = ref<ResizeObserverHelper>()
Expand Down

0 comments on commit e131d42

Please sign in to comment.