When using a mouse plugged into an Android device, the context menu is showing when selecting the TextInput's content even though the contextMenuHidden prop is used
Steps to reproduce
Plug a mouse in the Android device
Run the application
Type some text in the TextInput
Select the text
The context menu is showing
React Native Version
0.74.3
Affected Platforms
Runtime - Android, Build - MacOS
Output of npx react-native info
System:
OS: macOS 14.4.1
CPU: (10) arm64 Apple M1 Pro
Memory: 1.10 GB / 32.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 18.15.0
path: ~/.volta/tools/image/node/18.15.0/bin/node
Yarn:
version: 4.1.1
path: ~/.volta/tools/image/yarn/4.1.1/bin/yarn
npm:
version: 9.5.0
path: ~/.volta/tools/image/node/18.15.0/bin/npm
Watchman:
version: 2023.09.04.00
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods: Not Found
SDKs:
iOS SDK: Not Found
Android SDK: Not Found
IDEs:
Android Studio: 2023.1 AI-231.9392.1.2311.11255304
Xcode:
version: /undefined
path: /usr/bin/xcodebuild
Languages:
Java:
version: 11.0.20.1
path: /Users/strgazrs/.jenv/shims/javac
Ruby:
version: 2.6.10
path: /usr/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.74.3
wanted: 0.74.3
react-native-macos: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: Not found
newArchEnabled: Not found
iOS:
hermesEnabled: Not found
newArchEnabled: Not found
Description
When using a mouse plugged into an Android device, the context menu is showing when selecting the TextInput's content even though the contextMenuHidden prop is used
Steps to reproduce
React Native Version
0.74.3
Affected Platforms
Runtime - Android, Build - MacOS
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://snack.expo.dev/Bz0bpK2r2Cp5cAk6GdbhW
Screenshots and Videos