Skip to content

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

do not call blur on remove focus from editor

ammarahm-ed5191f149f34c
diff --git a/apps/mobile/android/app/src/main/assets/init.js b/apps/mobile/android/app/src/main/assets/init.js
index 98b803041..38ae95ec6 100644
--- a/apps/mobile/android/app/src/main/assets/init.js
+++ b/apps/mobile/android/app/src/main/assets/init.js
@@ -68,9 +68,6 @@ function init_tiny(size) {
editor.on('focus', () => {
reactNativeEventHandler('focus', 'editor');
});
- editor.on('blur', () => {
- reactNativeEventHandler('focus', null);
- });
editor.on('SetContent', (event) => {
if (!event.paste) {
reactNativeEventHandler('noteLoaded', true);