Description
💬 Before You Start
- I have searched the issues of this repository and believe that this is not a duplicate.
🙋 Description/Step to reproduce
<View style={{ flex: 1 }}> <TextInput value={text} onChangeText={setText} style={{ height: 40, borderColor: 'gray', borderWidth: 1 }} /> <Tabs tabs={[{ title: 'Tab1' }, { title: 'Tab2' }]}> <ScrollView style={{ flex: 1, justifyContent: 'center', alignItems: 'center' }} keyboardShouldPersistTaps='handled'> <Text onPress={() => { console.log('测试') }}>Content of Tab1</Text> </ScrollView> <View style={{ flex: 1, justifyContent: 'center', alignItems: 'center' }}> <Text>Content of Tab2</Text> </View> </Tabs> </View>
🔴 Version
5.2.3
💻 Environment
iOS, Android
⚫️ Output of npx react-native info
System:
OS: macOS 14.4.1
CPU: (6) x64 Intel(R) Core(TM) i5-8500 CPU @ 3.00GHz
Memory: 992.45 MB / 16.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 16.18.0
path: ~/.nvm/versions/node/v16.18.0/bin/node
Yarn:
version: 1.22.22
path: ~/Documents/develop/trippal_rn_im/Search/node_modules/.bin/yarn
npm:
version: 8.19.2
path: ~/.nvm/versions/node/v16.18.0/bin/npm
Watchman:
version: 2024.01.22.00
path: /usr/local/bin/watchman
Managers:
CocoaPods:
version: 1.11.2
path: /Users/liu_jw/.rvm/gems/ruby-2.6.5/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 23.5
- iOS 17.5
- macOS 14.5
- tvOS 17.5
- visionOS 1.2
- watchOS 10.5
Android SDK: Not Found
IDEs:
Android Studio: Not Found
Xcode:
version: 15.4/15F31d
path: /usr/bin/xcodebuild
Languages:
Java: Not Found
Ruby:
version: 2.6.5
path: /Users/liu_jw/.rvm/rubies/ruby-2.6.5/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.72.5
wanted: 0.72.5
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: Not found
newArchEnabled: Not found
iOS:
hermesEnabled: Not found
newArchEnabled: Not found
Additional comments
No response