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={() => { onMomentumScrollEnd={() => {
this.actionSheetRef.current?.handleChildScrollEnd(); this.actionSheetRef.current?.handleChildScrollEnd();
}} }}
keyboardShouldPersistTaps="always"
keyboardDismissMode="none"
ListFooterComponent={<View style={{height:50}} />} ListFooterComponent={<View style={{height:50}} />}
renderItem={({item, index}) => ( renderItem={({item, index}) => (
<TopicItem <TopicItem
@@ -400,12 +402,14 @@ export class AddNotebookDialog extends React.Component {
type="accent" type="accent"
onPress={this.addNewNotebook} onPress={this.addNewNotebook}
/> />
<View
{/* <View
style={{ style={{
height:35 height:35
}} }}
/> /> */}
</View> </View>
<Toast context="local" /> <Toast context="local" />
</SheetWrapper> </SheetWrapper>