diff --git a/packages/ui/src/components/base/Combobox.vue b/packages/ui/src/components/base/Combobox.vue index 4a0c6bcd0a..750238a9e1 100644 --- a/packages/ui/src/components/base/Combobox.vue +++ b/packages/ui/src/components/base/Combobox.vue @@ -97,12 +97,7 @@ - +
- +
-
+
- -
-
- - -
- -
- -
+ +
+
+ + +
-
- {{ activeCategorySelectionLabel }} - -
- +
-
{{ activeCategorySelectionLabel }} +
+ Clear + +
+
+ - - +
@@ -726,12 +728,6 @@ const isMobileActiveSubmenu = computed( () => isMobileAddMenuLayout.value && activeCategory.value !== undefined && hasSubmenuPosition.value, ) -const addMenuTransitionEnterActiveClass = computed(() => - isMobileAddMenuLayout.value ? 'transition-none duration-0' : 'transition-opacity duration-150', -) -const addMenuTransitionEnterFromClass = computed(() => - isMobileAddMenuLayout.value ? 'opacity-100' : 'opacity-0', -) const addMenuTriggerElement = computed(() => addMenuTrigger.value?.element ?? null) const addMenuOutsideClickTarget = computed(() => menuContainer.value ?? submenu.value) const addMenuOutsideClickIgnore = computed(() => [addMenuTriggerElement, menuContainer, submenu]) diff --git a/packages/ui/src/components/base/MultiSelect.vue b/packages/ui/src/components/base/MultiSelect.vue index f765bd90e6..7d17408333 100644 --- a/packages/ui/src/components/base/MultiSelect.vue +++ b/packages/ui/src/components/base/MultiSelect.vue @@ -108,12 +108,7 @@ - +
{ + switch (resolvedSide.value) { + case 'top': + return 'bottom center' + case 'left': + return 'right center' + case 'right': + return 'left center' + default: + return 'top center' + } +}) + const menuItemClasses = 'overflow-menu-item flex min-h-10 w-full items-center gap-2 rounded-[10px] border-0 bg-transparent px-3 py-2 text-left text-base font-semibold leading-5 text-contrast no-underline ' + 'cursor-pointer whitespace-nowrap hover:bg-surface-4 focus-visible:bg-surface-4 focus-visible:outline-none ' + @@ -294,20 +307,13 @@ defineExpose({ open: openMenu, close: closeMenu }) - +