Skip to content

AI-native knowledge base & Evernote/Obsidian alternative with instant sync & native MCP. Free on Cloudflare or self-hosted via Docker.

fix(mobile): focus existing notes on edit

tianma-if39f9a87ee16a
diff --git a/apps/mobile/src/screens/WorkspaceScreen.tsx b/apps/mobile/src/screens/WorkspaceScreen.tsx
index b8186ddb..304982f0 100644
--- a/apps/mobile/src/screens/WorkspaceScreen.tsx
+++ b/apps/mobile/src/screens/WorkspaceScreen.tsx
@@ -4416,6 +4416,7 @@ const RichEditorModal = ({
const editorElement = useMemo(
() => memo && baseUrl ? (
<LocalTiptapEditor
+ autoFocus
baseUrl={baseUrl}
content={contentJsonRef.current}
dom={{
@@ -4438,7 +4439,10 @@ const RichEditorModal = ({
initialFocusTimerRef.current = setTimeout(() => {
initialFocusTimerRef.current = null;
editorRef.current?.focusEnd();
- }, 160);
+ if (Platform.OS === "android") {
+ showEdgeEverKeyboard();
+ }
+ }, 180);
}}
ref={editorRef}
locale={resolvedLocale}