Fixed numpad enter not working on the global search

What does this MR do and why?

I mostly use a full-sized keyboard and I noticed that the global search form doesn't accept the numpad enter keystroke to "click" on an item and start the navigation 🙂

This MR fixes this behavior 🙂

Screenshots or screen recordings

Hard to show on video that I use the numpad enter 😅

How to set up and validate locally

  1. Go to any page of the GDK
  2. Open the global search modal (clicking on the sidebar or pressing any shortcut for that)
  3. Navigate with the keyboard arrows to an item
    • On master: pressing the numpad enter key does nothing
    • On this branch: pressing the numpad enter key starts the navigation like using the "normal" enter key

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading