react-native-true-sheet
react-native-true-sheet copied to clipboard
Can't type in TextInput when the bottom sheet is open (Android)
First of all thanks for building this great library.
I have two input outside the bottom sheet where I want to type even when the bottom sheet is open. It worked perfectly fine in iOS but I am struggling with Android.
https://github.com/user-attachments/assets/06f4e2e6-e8b8-4c77-b63a-df65119e908d
If the screen recording you can see how the focus stays in the bottom sheet instead of the input which is outside. Thanks.
Code
The app is open source you can take a look in the source files.
The component looks like this:
<TrueSheet
ref={searchSheetRef}
style={styles.container}
contentContainerStyle={{flex: 1}}
dimmed={false}
sizes={['75%', 'large']}
keyboardMode="resize"
cornerRadius={15}
onDismiss={() => $isSearchOpen.set(false)}
scrollRef={searchFlatListRef}>
<CommandList flatListRef={searchFlatListRef} />
</TrueSheet>