Don't trigger keyboard shortcuts when using search

What does this MR do and why?

Stops triggering keyboard shortcuts when using search while on wiki homepage (#466679 (closed))

Screenshots or screen recordings

N/A

How to set up and validate locally (adapted from original issue)

For "Search or go to" and change to Edit mode:

  1. Go to Plan > Wiki.
  2. Make sure you are in the Wiki's home.
  3. Click on the left sidebar "Search or go to".
  4. Start typing to search for "test".
  5. Page should no longer go to edit mode.

For "Keyboard shortcuts" and change to Edit mode:

  1. Go to Plan > Wiki.
  2. Make sure you are in the Wiki's home.
  3. Press "Shift + ?" to open the keyboard shortcuts help.
  4. Click on the keyboard shortcuts search bar.
  5. Type "e".
  6. Page should no longer go to edit mode.

For "Search or go to" and jumping to "New Issue":

  1. Go to Plan > Wiki.
  2. Make sure you are in the Wiki's home.
  3. Click on the left sidebar "Search or go to".
  4. Type quickly "edit".
  5. Page should not redirect to New issue.

Links

Merge request reports

Loading