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: do not call scroll into view on focus
Ammar Ahmed856a9b16e9a3
diff --git a/apps/mobile/app/screens/editor/tiptap/use-editor-events.tsx b/apps/mobile/app/screens/editor/tiptap/use-editor-events.tsxindex ddc67a4ea..5ebc74a05 100644--- a/apps/mobile/app/screens/editor/tiptap/use-editor-events.tsx+++ b/apps/mobile/app/screens/editor/tiptap/use-editor-events.tsx@@ -174,11 +174,10 @@ export const useEditorEvents = ();const tools = useDragState((state) => state.data);-useEffect(() => {const handleKeyboardDidShow: KeyboardEventListener = () => {editor.commands.keyboardShown(true);- editor.postMessage(NativeEvents.keyboardShown, undefined);+ //editor.postMessage(NativeEvents.keyboardShown, undefined);};const handleKeyboardDidHide: KeyboardEventListener = () => {editor.commands.keyboardShown(false);@@ -191,7 +190,6 @@ export const useEditorEvents = (subscriptions.forEach((subscription) => subscription.remove());};}, [editor.commands, editor.postMessage]);-useEffect(() => {if (loading) return;if (typeof defaultFontFamily === "object") {