AI-native knowledge base & Evernote/Obsidian alternative with instant sync & native MCP. Free on Cloudflare or self-hosted via Docker.
HTML ai-agentcloudflarecloudflare-d1cloudflare-r2cloudflare-workersdockerelectronevernoteevernote-alternativeknowledge-basemcpnote-takingobsidian-alternativeoffline-firstpersonal-knowledge-basepwaself-hostedsqlitetiptapweb-clipper
fix: keep newly created memo selected
tianma-if9b44f640925a
diff --git a/apps/web/src/components/EditorPane.tsx b/apps/web/src/components/EditorPane.tsxindex ac2d74cc..9eda1ed8 100644--- a/apps/web/src/components/EditorPane.tsx+++ b/apps/web/src/components/EditorPane.tsx@@ -1290,11 +1290,11 @@ const RichEditorPane = ({if (!isMobileViewport) {if (isEditorReady(currentEditor) && hydratedMemoIdRef.current === memo.id) {currentEditor.commands.focus("end");- onMobileDefaultEditConsumed();// Consuming the create request updates the parent and can- // briefly blur the editor during that rerender. Restore the- // caret after the update has committed so a new note is- // immediately ready for typing.+ // briefly blur the editor during that rerender. Mobile+ // standalone editing consumes the request above; desktop+ // keeps it alive until the list has observed the new memo so+ // a background refresh cannot select the previous memo.window.setTimeout(() => {if (cancelled || memoRef.current?.id !== memo.id) {return;