From 5350bb022441d87f17f4c3fc78e107b51469f59e Mon Sep 17 00:00:00 2001 From: JB Date: Thu, 18 Jan 2024 10:55:47 +0100 Subject: [PATCH] fix(select-menu): fix merge popper options --- src/components/select/USelectMenu.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/select/USelectMenu.vue b/src/components/select/USelectMenu.vue index add94e1..dfa4b7d 100644 --- a/src/components/select/USelectMenu.vue +++ b/src/components/select/USelectMenu.vue @@ -73,7 +73,7 @@ const slots = useSlots() const config = computed(() => merge({}, useAppUi().selectMenu, props.ui)) const configSelect = computed(() => merge({}, useAppUi().select, props.uiSelect)) -const popper = computed(() => merge({}, props.popper, config.value.popper)) +const popper = computed(() => merge({}, config.value.popper, props.popper)) const isLeading = computed(() => (props.icon && props.isLeading) || (props.icon && !props.isTrailing) || (props.isLoading && !props.isTrailing) || props.leadingIcon) const isTrailing = computed(() => (props.icon && props.isTrailing) || (props.isLoading && props.isTrailing) || props.trailingIcon) const leadingIconName = computed(() => props.isLoading ? props.loadingIcon : props.leadingIcon || props.icon)