mobile: blur editor on back

This commit is contained in:
Ammar Ahmed
2024-03-11 22:16:41 +05:00
committed by Abdullah Atta
parent 8496423b50
commit 46565aa45c

View File

@@ -247,6 +247,7 @@ export const useEditorEvents = (
}
editorState().currentlyEditing = false;
// editor.reset(); Notes remain open.
editor.commands?.blur(useTabStore.getState().currentTab);
setTimeout(async () => {
if (deviceMode !== "mobile" && fullscreen) {
if (fullscreen) {