Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

web: close tag dropdown on tab press (#2508)

Muhammad Alifdd3897a605a
diff --git a/apps/web/src/components/editor/header.js b/apps/web/src/components/editor/header.js
index c8554dad6..c2ffb73be 100644
--- a/apps/web/src/components/editor/header.js
+++ b/apps/web/src/components/editor/header.js
@@ -200,6 +200,8 @@ function Autosuggest({
if (e.key === "ArrowDown" && !text) onOpenMenu(defaultItems.slice());
e.preventDefault();
+ } else if (e.key === "Tab") {
+ closeMenu();
}
}}
/>