描述
找到了类似的问题,但它们并不是完全相同的情况:
仅在iOS上出现:#43452
仅在带有鼠标的Android上出现:#45355
重现步骤
- 真实设备:
- Samsung Galaxy s22 Ultra Android 14
- Xiaomi 13T Pro Android 13
- 请查看Expo App
- 双击TextInput
- 菜单显示
React Native版本
0.74.1
受影响的平台
运行时- Android
npx react-native info
的输出
System:
OS: macOS 14.3
CPU: (8) arm64 Apple M1
Memory: 93.42 MB / 16.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 20.10.0
path: ~/.nvm/versions/node/v20.10.0/bin/node
Yarn:
version: 4.0.2
path: /opt/homebrew/bin/yarn
npm:
version: 10.2.3
path: ~/.nvm/versions/node/v20.10.0/bin/npm
Watchman:
version: 2023.12.04.00
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.15.1
path: /Users/***/.rbenv/shims/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:
API Levels:
- "31"
- "33"
- "34"
Build Tools:
- 29.0.2
- 30.0.3
- 33.0.0
- 33.0.1
- 34.0.0
System Images:
- android-33 | Google APIs ARM 64 v8a
- android-33 | Google Play ARM 64 v8a
- android-34 | Google APIs ARM 64 v8a
Android NDK: 22.1.7171670
IDEs:
Android Studio: 2023.1 AI-231.9392.1.2311.11255304
Xcode:
version: 15.4/15F31d
path: /usr/bin/xcodebuild
Languages:
Java:
version: 17.0.10
path: /usr/bin/javac
Ruby:
version: 3.3.0
path: /Users/***/.rbenv/shims/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.74.1
wanted: 0.74.1
react-native-macos: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: true
iOS:
hermesEnabled: true
newArchEnabled: true
堆栈跟踪或日志
N/A
可复现问题
https://snack.expo.dev/OXUbWCCXWXsTB109-QdgE
2条答案
按热度按时间hm2xizp91#
euoag5mw2#
你尝试过这个修复方法吗:https://github.com/facebook/react-native/pull/45014/files