We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v4 (deprecated)
v3
v2
iOS
Using @gorhom/bottom-sheet v4. Need to dismiss keyboard immediately when user starts dragging the sheet, not just on close.
Current behavior:
Tried:
Code: ` import { TextInput } from 'react-native';
<BottomSheet ref={bottomSheetRef} index={visible ? 0 : -1} snapPoints={snapPoints} enablePanDownToClose onClose={handleSheetClose} backdropComponent={renderBackdrop} handleIndicatorStyle={styles.handleIndicator} backgroundStyle={styles.modalBackground} > <KeyboardAvoidingView behavior={Platform.OS === 'ios' ? 'padding' : undefined} style={styles.keyboardAvoidingView} keyboardVerticalOffset={Platform.OS === 'ios' ? 10 : 0} >
...
Any suggestions for handling keyboard dismiss on initial drag?
https://snack.expo.dev/n7fZgSTu9LyH137W7yod3
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Version
v4 (deprecated)
Reanimated Version
v3
Gesture Handler Version
v2
Platforms
iOS
What happened?
Using @gorhom/bottom-sheet v4. Need to dismiss keyboard immediately when user starts dragging the sheet, not just on close.
Current behavior:
Tried:
Code:
`
import { TextInput } from 'react-native';
<BottomSheet
ref={bottomSheetRef}
index={visible ? 0 : -1}
snapPoints={snapPoints}
enablePanDownToClose
onClose={handleSheetClose}
backdropComponent={renderBackdrop}
handleIndicatorStyle={styles.handleIndicator}
backgroundStyle={styles.modalBackground}
>
<KeyboardAvoidingView
behavior={Platform.OS === 'ios' ? 'padding' : undefined}
style={styles.keyboardAvoidingView}
keyboardVerticalOffset={Platform.OS === 'ios' ? 10 : 0}
>
...
`Any suggestions for handling keyboard dismiss on initial drag?
Reproduction steps
import { TextInput } from 'react-native';
<BottomSheet
ref={bottomSheetRef}
index={visible ? 0 : -1}
snapPoints={snapPoints}
enablePanDownToClose
onClose={handleSheetClose}
backdropComponent={renderBackdrop}
handleIndicatorStyle={styles.handleIndicator}
backgroundStyle={styles.modalBackground}
>
<KeyboardAvoidingView
behavior={Platform.OS === 'ios' ? 'padding' : undefined}
style={styles.keyboardAvoidingView}
keyboardVerticalOffset={Platform.OS === 'ios' ? 10 : 0}
>
...
`Reproduction sample
https://snack.expo.dev/n7fZgSTu9LyH137W7yod3
Relevant log output
The text was updated successfully, but these errors were encountered: