From e131d4239fdb4c18640aa0631734a520efbdfcf9 Mon Sep 17 00:00:00 2001 From: Maksym Portianoi Date: Tue, 9 Jan 2024 12:11:35 -0500 Subject: [PATCH] test(kmultiselect): fix component tests (#1936) --- src/components/KMultiselect/KMultiselect.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/KMultiselect/KMultiselect.vue b/src/components/KMultiselect/KMultiselect.vue index 8ef301b4c0..57a5ae8eca 100644 --- a/src/components/KMultiselect/KMultiselect.vue +++ b/src/components/KMultiselect/KMultiselect.vue @@ -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) }) @@ -1017,9 +1017,9 @@ watch(() => props.items, (newValue, oldValue) => { } }, { deep: true, immediate: true }) -const numericWidth = ref(200) +const numericWidth = ref(300) const setNumericWidth = (): void => { - numericWidth.value = multiselectElement.value?.clientWidth || 200 + numericWidth.value = multiselectElement.value?.clientWidth || 300 } const resizeObserver = ref()