diff --git a/app/gui2/src/components/DropdownMenu.vue b/app/gui2/src/components/DropdownMenu.vue index 2c1fc288ff76..e0b07e0fa715 100644 --- a/app/gui2/src/components/DropdownMenu.vue +++ b/app/gui2/src/components/DropdownMenu.vue @@ -9,6 +9,7 @@ import { ref, shallowRef } from 'vue' const open = defineModel('open', { default: false }) const props = defineProps<{ + title?: string | undefined placement?: Placement }>() @@ -35,6 +36,7 @@ const { floatingStyles } = useFloating(rootElement, floatElement, { @@ -72,10 +74,10 @@ const { floatingStyles } = useFloating(rootElement, floatElement, { position: absolute; bottom: -5px; left: 50%; - transform: translateX(-50%) rotate(90deg) scale(0.7); - transform-origin: center; opacity: 0.5; /* Prevent the parent from receiving a pointerout event if the mouse is over the arrow, which causes flickering. */ pointer-events: none; + --icon-transform: translateX(-50%) rotate(90deg) scale(0.7); + --icon-transform-origin: center; } diff --git a/app/gui2/src/components/ExtendedMenu.vue b/app/gui2/src/components/ExtendedMenu.vue index 5811fa92a1da..c219f9300024 100644 --- a/app/gui2/src/components/ExtendedMenu.vue +++ b/app/gui2/src/components/ExtendedMenu.vue @@ -24,10 +24,13 @@ const toggleDocumentationEditorShortcut = documentationEditorBindings.bindings.t