fix tapping on topic closes the keyboard

This commit is contained in:
ammarahm-ed
2021-12-31 09:06:48 +05:00
parent 9d570ae227
commit a6aa8b447f

View File

@@ -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>