Skip to content

Build your personal knowledge base with Trilium Notes

after loading new note make sure editor is scrolled to the top

azivnerbf2db6eac707
diff --git a/public/javascripts/note_editor.js b/public/javascripts/note_editor.js
index 354b5943c9..1f9d14cef1 100644
--- a/public/javascripts/note_editor.js
+++ b/public/javascripts/note_editor.js
@@ -128,6 +128,9 @@ const noteEditor = (function() {
setNoteBackgroundIfProtected(currentNote);
noteTree.setNoteTreeBackgroundBasedOnProtectedStatus(noteId);
+ // after loading new note make sure editor is scrolled to the top
+ noteDetailWrapperEl.scrollTop(0);
+
showAppIfHidden();
}