-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: eliminated the need for
ctrl+enter
to submit searches
Submittable search menus no longer require an extra `ctrl+enter` shortcut to submit searches. Apart of hogging a valuable `ctrl+enter` modifier, this was also causing some other issues for people (#915). We now differentiate between focused item list and search input, and change behavior based on this: - Search input is focused when no item is selected. - Item is deselected automatically when search query changes, or user navigates out of bounds of the item list (pressing up when 1st item is selected). - When input is focused, pressing enter submits a search instead of activating items. closes #915
- Loading branch information
1 parent
61c259b
commit 3b7443f
Showing
2 changed files
with
56 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters