Skip to content

Toolbar keyboard shortcuts trigger while menu is open #14110

@daun

Description

@daun

Bug description

Loving the new keyboard shortcuts from #14036!

One minor detail: Hitting Esc while inside an action menu will both close the menu and clear the selection. I'd expect it to close the menu first, and only clear the selection when hitting Esc again.

Image

How to reproduce

Open a listing with actions. Select a few items. Open the dropdown actions menu. Hit Esc.

Logs

Environment

Environment
Application Name: Statamic
Laravel Version: 12.53.0
PHP Version: 8.4.3
Composer Version: 2.8.3
Environment: local
Debug Mode: ENABLED
URL: statamic-v6.test
Maintenance Mode: OFF
Timezone: UTC
Locale: en

Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED

Drivers
Broadcasting: log
Cache: file
Database: sqlite
Logs: stack / single
Mail: log
Queue: database
Session: file

Storage
public/storage: NOT LINKED

Statamic
Addons: 7
Sites: 2 (EN, FR)
Stache Watcher: Enabled (auto)
Static Caching: Disabled
Version: 6.x-dev PRO

Installation

Fresh statamic/statamic site via CLI

Additional details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions