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
do not clear text on lose focus
ammarahm-ed4e4aaea9e908
diff --git a/apps/mobile/src/components/Input/index.js b/apps/mobile/src/components/Input/index.jsindex 4b1c61947..35decef8d 100644--- a/apps/mobile/src/components/Input/index.js+++ b/apps/mobile/src/components/Input/index.js@@ -147,13 +147,7 @@ const Input = ({autoCapitalize={autoCapitalize}onChangeText={onChange}onBlur={onBlur}- onEndEditing={() => {- if (clearTextOnFocus) {- fwdRef.current?.setNativeProps({- text:''- })- }- }}+onFocus={onFocus}onSubmitEditing={onSubmit}blurOnSubmit={blurOnSubmit}