Replies: 1 comment 2 replies
-
We strongly recommend (but do not enforce) that users enable only one or the other of the search button / search field. So we assume that if the field is present, the modal is not |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
TL;DR- Proposal
I propose two changes to the search keyboard shortcut (Ctrl + K):
Background
While working on #1932, I noticed that the JavaScript that handles toggling the search bar on and off is more complex than I would have expected.
Prior to #807, if I'm reading the previous code correctly, the behavior of the keyboard shortcut was to show and focus the pop-over search bar. But #807 changed the keyboard shortcut so that if there is a persistent search input field on the page, it takes precedence over the pop-over search bar. I'm not entirely sure why this was done. (@drammock, any insight here?)
However, the current behavior (introduced in #807) is problematic for at least a few reasons:
Benefits
Beta Was this translation helpful? Give feedback.
All reactions