mobile: fix tabs

This commit is contained in:
Ammar Ahmed
2025-01-31 09:39:29 +05:00
committed by Abdullah Atta
parent 140e343289
commit 329c2e220f
5 changed files with 119 additions and 98 deletions

View File

@@ -243,8 +243,10 @@ const Tiptap = ({
);
setTimeout(() => {
editorControllers[tabRef.current.id]?.setLoading(false);
restoreNoteSelection(scrollTop, selection);
}, 300);
setTimeout(() => {
restoreNoteSelection(scrollTop, selection);
}, 300);
}, 1);
},
[restoreNoteSelection]
);