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 link input cannot be focused
ammarahm-edad5c3882a435
diff --git a/apps/mobile/src/views/Editor/tiny/toolbar/linkinput.js b/apps/mobile/src/views/Editor/tiny/toolbar/linkinput.jsindex 28fe97ad6..d0ebce224 100644--- a/apps/mobile/src/views/Editor/tiny/toolbar/linkinput.js+++ b/apps/mobile/src/views/Editor/tiny/toolbar/linkinput.js@@ -36,11 +36,6 @@ const ToolbarLinkInput = ({format, value, setVisible}) => {properties.inputMode = value ? INPUT_MODE.NO_EDIT : INPUT_MODE.EDITING;editing.tooltip = format;properties.userBlur = false;- if (properties.pauseSelectionChange) {- setTimeout(() => {- properties.pauseSelectionChange = false;- }, 100);- }return () => {properties.inputMode = null;editing.tooltip = null;@@ -53,7 +48,7 @@ const ToolbarLinkInput = ({format, value, setVisible}) => {if (properties.pauseSelectionChange) {setTimeout(() => {properties.pauseSelectionChange = false;- }, 100);+ }, 500);}inputRef.current?.focus();return;