Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix: scroll jumps in editor in new note

thecodrr557458d1ded9
diff --git a/apps/web/src/components/editor/header.js b/apps/web/src/components/editor/header.js
index ce600f5be..4623c7b11 100644
--- a/apps/web/src/components/editor/header.js
+++ b/apps/web/src/components/editor/header.js
@@ -12,7 +12,7 @@ function Header() {
return (
<Flex mx={[2, 2, 0]} mb={[2, 2, 0]}>
<TitleBox
- shouldFocus={sessionState === SESSION_STATES.new}
+ shouldFocus={sessionState === SESSION_STATES.new && title.length <= 0}
title={title}
changeInterval={500}
setTitle={(title) =>