A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
fix: context menu not closing
thecodrrf81a338fc892
diff --git a/apps/web/src/utils/useContextMenu.js b/apps/web/src/utils/useContextMenu.jsindex 1435d6ff3..12fc02a3c 100644--- a/apps/web/src/utils/useContextMenu.js+++ b/apps/web/src/utils/useContextMenu.js@@ -24,7 +24,6 @@ function onKeyDown(event) {}function onWindowClick() {- console.log("WINDOW CLICK!");closeMenu();}@@ -67,6 +66,7 @@ function openMenu(e) {window.addEventListener("keydown", onKeyDown);window.addEventListener("click", onWindowClick);window.addEventListener("blur", onWindowClick);+ isOpening = false;}function getPosition(e) {