mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-29 00:20:04 +01:00
web: close tag dropdown on tab press (#2508)
This commit is contained in:
@@ -200,6 +200,8 @@ function Autosuggest({
|
||||
if (e.key === "ArrowDown" && !text) onOpenMenu(defaultItems.slice());
|
||||
|
||||
e.preventDefault();
|
||||
} else if (e.key === "Tab") {
|
||||
closeMenu();
|
||||
}
|
||||
}}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user