From 836f0f1a51fdc56ea0271480bf7b9070ca8ceefb Mon Sep 17 00:00:00 2001 From: Philipp Daun Date: Sat, 28 Feb 2026 22:59:05 +0100 Subject: [PATCH] Include dropdown menu in toolbar shortcut overlay check Signed-off-by: Philipp Daun --- .../js/components/ui/Listing/BulkActionsFloatingToolbar.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/resources/js/components/ui/Listing/BulkActionsFloatingToolbar.vue b/resources/js/components/ui/Listing/BulkActionsFloatingToolbar.vue index 5e54490d98..4bee4b1195 100644 --- a/resources/js/components/ui/Listing/BulkActionsFloatingToolbar.vue +++ b/resources/js/components/ui/Listing/BulkActionsFloatingToolbar.vue @@ -61,7 +61,7 @@ const actionsWithShortcuts = computed(() => { // ——— Keyboard handler: skip when overlays or form controls have focus ——— function hasOpenOverlay() { return !!document.querySelector( - '[data-ui-modal-content], .stack-content, [role="dialog"]' + '[data-ui-modal-content], [data-ui-dropdown-menu], .stack-content, [role="dialog"]' ); } @@ -152,4 +152,3 @@ onUnmounted(() => document.removeEventListener('keydown', onKeydown, true)); -