mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-22 22:49:45 +01:00
fix tapping on topic closes the keyboard
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user