A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
fix focus editor on ios
ammarahm-ed3a0c324ad68b
diff --git a/apps/mobile/babel.config.js b/apps/mobile/babel.config.jsindex 299bf1509..179a54e0d 100644--- a/apps/mobile/babel.config.js+++ b/apps/mobile/babel.config.js@@ -1,6 +1,6 @@module.exports = {presets: ['module:metro-react-native-babel-preset'],plugins: [- //"transform-remove-console"+ "transform-remove-console"]};diff --git a/apps/mobile/src/views/Editor/Functions.js b/apps/mobile/src/views/Editor/Functions.jsindex 03ed404ef..d364f09ba 100644--- a/apps/mobile/src/views/Editor/Functions.js+++ b/apps/mobile/src/views/Editor/Functions.js@@ -175,11 +175,10 @@ export const loadNote = async (item) => {await sleep(20);if (Platform.OS === 'android') {textInput.current?.focus();- console.log('focus');tiny.call(EditorWebView, tiny.focusEditor);EditorWebView.current?.requestFocus();} else {- editorTitleInput.current?.focus();+ tiny.call(EditorWebView, tiny.focusEditor);}if (!webviewInit) {EditorWebView.current?.reload();