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 back button hitslop
ammarahm-ed20a5dfa8eb95
diff --git a/apps/mobile/src/views/Editor/index.js b/apps/mobile/src/views/Editor/index.jsindex 9d446996e..7dc7c049b 100755--- a/apps/mobile/src/views/Editor/index.js+++ b/apps/mobile/src/views/Editor/index.js@@ -1,6 +1,7 @@import React, {createRef, useEffect, useState} from 'react';import {BackHandler,+ Keyboard,KeyboardAvoidingView,Platform,SafeAreaView,@@ -83,10 +84,17 @@ const Editor = ({noMenu}) => {eSubscribeEvent(eOnLoadNote, load);eSubscribeEvent(eCloseFullscreenEditor, closeFullscreen);eSubscribeEvent(eClearEditor, onCallClear);+ Keyboard.addListener("keyboardDidShow",() => {+ console.log('keyboard is shown')+ post("keyboard")+ })return () => {eUnSubscribeEvent(eClearEditor, onCallClear);eUnSubscribeEvent(eCloseFullscreenEditor, closeFullscreen);eUnSubscribeEvent(eOnLoadNote, load);+ Keyboard.removeListener("keyboardDidShow",() => {+ post("keyboard")+ })};}, []);@@ -201,6 +209,7 @@ const Editor = ({noMenu}) => {name="arrow-left"color={colors.heading}onPress={_onBackPress}+ bottom={5}iconStyle={{textAlignVertical: 'center',}}@@ -238,6 +247,7 @@ const Editor = ({noMenu}) => {name="arrow-left"color={colors.heading}onPress={_onBackPress}+ bottom={5}customStyle={{marginLeft: -5,}}