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
web: `${id}_editorScroll` > `editorScroll_${id}`
Abdullah Atta90a19e715277
diff --git a/apps/web/src/components/editor/index.tsx b/apps/web/src/components/editor/index.tsxindex cb46ea46f..63aabb056 100644--- a/apps/web/src/components/editor/index.tsx+++ b/apps/web/src/components/editor/index.tsx@@ -563,7 +563,7 @@ function EditorChrome({/* <Toolbar /> */}<FlexScrollContainer- id={`${id}_editorScroll`}+ id={`editorScroll_${id}`}scrollRef={editorScrollRef}style={{display: "flex",@@ -753,7 +753,7 @@ function isFile(e: DragEvent) {function restoreScrollPosition(session: EditorSession) {if (session?.activeBlockId) return scrollIntoViewById(session.activeBlockId);- const scrollContainer = document.getElementById(`${id}_editorScroll`);+ const scrollContainer = document.getElementById(`editorScroll_${session.id}`);const scrollPosition = Config.get(`${session.id}:scroll-position`, 0);if (scrollContainer) {requestAnimationFrame(() => {