Skip to content

[Issue] Backend: focus search field when pressing forwardslash - '/' #29551

Closed
@m2-assistant

Description

@m2-assistant

keydown event listener in magento backend to activate global search form if forward slash was pressed.

Preconditions (*)

  1. Magento 2.4

Steps to reproduce (*)

  1. Login to backend
  2. Press '/' on the keyboard.
  3. Start typing a query.

Expected result (*)

No need to grab the mouse!

Actual result (*)

Not working with forward slash

https://user-images.githubusercontent.com/306080/78894531-e03bd000-7a75-11ea-9f27-5378aca18200.gif

Metadata

Metadata

Assignees

Labels

Component: AdminComponent: SearchFixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentPriority: P4No current plan to fix. Fixing can be deferred as a logical part of more important work.Progress: doneReported on 2.4.0Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchSeverity: S4Affects aesthetics, professional look and feel, “quality” or “usability”.

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions