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
mobile: fix keyboard jump on tap in dropdown
Ammar Ahmed4ed6bdd66834
diff --git a/packages/editor/src/toolbar/components/dropdown.tsx b/packages/editor/src/toolbar/components/dropdown.tsxindex 345399021..e64acfb9b 100644--- a/packages/editor/src/toolbar/components/dropdown.tsx+++ b/packages/editor/src/toolbar/components/dropdown.tsx@@ -124,6 +124,11 @@ export function Dropdown(props: DropdownProps) {}}blocking={!isMobile}focusOnRender={!isMobile}+ onMouseDown={(e) => {+ if (globalThis.keyboardShown) {+ e.preventDefault();+ }+ }}sx={{minWidth: menuWidth,maxWidth: isBottom ? "95vw" : "auto",