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
When using edge to edge mode TrueSheet does not handle the keyboard state in any way
I also tried using the react-native-keyboard-controller add-on library for keyboard handling but it doesn't work inside TrueSheet
import { Button, View, Text, TextInput } from 'react-native'; import { TrueSheet } from '@lodev09/react-native-true-sheet'; import { useRef } from 'react'; export default function App() { const sheet = useRef<TrueSheet>(null); return ( <View style={{ paddingTop: 100, paddingHorizontal: 20, backgroundColor: 'white', flex: 1, }} > <Button title="Open Sheet" onPress={() => sheet.current?.present()} /> <TrueSheet ref={sheet} cornerRadius={25} edgeToEdge> <View style={{ height: 100, backgroundColor: 'white', padding: 20 }}> <Text>Input</Text> <TextInput placeholder="placeholder" style={{ borderWidth: 1, height: 50 }} /> </View> </TrueSheet> </View> ); }
The text was updated successfully, but these errors were encountered:
I think we should use imePadding for such cases. I unfortunately don't understand how to use it outside of “android compose”
Sorry, something went wrong.
No branches or pull requests
When using edge to edge mode TrueSheet does not handle the keyboard state in any way
I also tried using the react-native-keyboard-controller add-on library for keyboard handling but it doesn't work inside TrueSheet
env
Example to reproduce
screenshots
The text was updated successfully, but these errors were encountered: