Skip to content

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

fix caret is not in view sometimes on focus

ammarahm-edb9c4522efeaa
diff --git a/apps/mobile/src/views/Editor/tiny/tiny.js b/apps/mobile/src/views/Editor/tiny/tiny.js
index d6c0a42bb..750f902d9 100644
--- a/apps/mobile/src/views/Editor/tiny/tiny.js
+++ b/apps/mobile/src/views/Editor/tiny/tiny.js
@@ -12,7 +12,7 @@ window.blur();
`;
const keyboardStateChanged = `(() => {
-
+ tinyMCE.activeEditor.selection.scrollIntoView(false);
})();
`;
const blur = `