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:
- Go to Plan > Wiki.
- Make sure you are in the Wiki's home.
- Click on the left sidebar "Search or go to".
- Start typing to search for "test".
- Page should no longer go to
editmode.
For "Keyboard shortcuts" and change to Edit mode:
- Go to Plan > Wiki.
- Make sure you are in the Wiki's home.
- Press "Shift + ?" to open the keyboard shortcuts help.
- Click on the keyboard shortcuts search bar.
- Type "e".
- Page should no longer go to
editmode.
For "Search or go to" and jumping to "New Issue":
- Go to Plan > Wiki.
- Make sure you are in the Wiki's home.
- Click on the left sidebar "Search or go to".
- Type quickly "edit".
- Page should not redirect to
New issue.