Skip to content

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

fix tapping on topic closes the keyboard

ammarahm-eda6aa8b447f9f
diff --git a/apps/mobile/src/components/AddNotebookDialog/index.js b/apps/mobile/src/components/AddNotebookDialog/index.js
index 69fff08cb..22e93de44 100644
--- a/apps/mobile/src/components/AddNotebookDialog/index.js
+++ b/apps/mobile/src/components/AddNotebookDialog/index.js
@@ -367,6 +367,8 @@ export class AddNotebookDialog extends React.Component {
onMomentumScrollEnd={() => {
this.actionSheetRef.current?.handleChildScrollEnd();
}}
+ keyboardShouldPersistTaps="always"
+ keyboardDismissMode="none"
ListFooterComponent={<View style={{height:50}} />}
renderItem={({item, index}) => (
<TopicItem
@@ -400,12 +402,14 @@ export class AddNotebookDialog extends React.Component {
type="accent"
onPress={this.addNewNotebook}
/>
- <View
+
+ {/* <View
style={{
height:35
}}
- />
+ /> */}
</View>
+
<Toast context="local" />
</SheetWrapper>