Skip to content

[5.x]: Slideout shortcuts broken when the slideout is opened via disclosure menu #15209

@thupsi

Description

@thupsi

What happened?

Description

When a slideout is opened via a discolusre menu (e.g. the user selects edit field on a FLD item) the slideout shortcuts (e.g Ctrl+S for saving, or ESC for closing) don't work.

Steps to reproduce

  1. Go to the FLD for an entry type.
  2. Try to edit a field.
  3. The slideout opens.
  4. Try to perform a save, or close (cancel) on the slideout via the corresponding keyboard shortcut.

Expected behavior

The action invoked via the shortcut should be performed.

Actual behavior

On ESC nothing happens. On Ctrl+S the browser opens the native save dialog.

Craft CMS version

5.2.0

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions