diff --git a/src/public/app/widgets/note_list.js b/src/public/app/widgets/note_list.js index a8c292fcc..6f1fd8cf0 100644 --- a/src/public/app/widgets/note_list.js +++ b/src/public/app/widgets/note_list.js @@ -37,7 +37,9 @@ export default class NoteListWidget extends NoteContextAwareWidget { threshold: 0.1 }); - observer.observe(this.$widget[0]); + // there seems to be a race condition on Firefox which triggers the observer only before the widget is visible + // (intersection is false). https://github.com/zadam/trilium/issues/4165 + setTimeout(() => observer.observe(this.$widget[0]), 10); } checkRenderStatus() {