Skip to content
New issue

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

[Bug] Tabs内容点击事件没有被正确传递,键盘展开时,需要先点击收起之后才能点击真实内容 #1387

Open
1 task done
LvyLiu opened this issue Oct 23, 2024 · 0 comments
Labels

Comments

@LvyLiu
Copy link

LvyLiu commented Oct 23, 2024

💬 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

@LvyLiu LvyLiu added the Bug🐛 label Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant