Skip to content

Disabling action mode on text input in android #32681

@fgedlek

Description

@fgedlek

Description

How can I disable android input ActionMode using react-native's text input? I couldn't find any solution in documentation and on stackoverflow that works.

Version

0.66.1

Output of react-native info

System: OS: macOS 11.6 CPU: (8) arm64 Apple M1 Memory: 195.09 MB / 16.00 GB Shell: 5.8 - /bin/zsh Binaries: Node: 16.11.1 - /var/folders/__/lwdcn1sx55s1qsjcs_sjtt2w0000gn/T/yarn--1638278482593-0.6279819417720609/node Yarn: 1.22.17 - /var/folders/__/lwdcn1sx55s1qsjcs_sjtt2w0000gn/T/yarn--1638278482593-0.6279819417720609/yarn npm: 8.0.0 - ~/.nvm/versions/node/v16.11.1/bin/npm Watchman: Not Found Managers: CocoaPods: 1.11.2 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: DriverKit 21.0.1, iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0 Android SDK: API Levels: 21, 23, 28, 29, 30, 31 Build Tools: 28.0.3, 29.0.2, 30.0.2, 31.0.0 System Images: android-29 | Google APIs ARM 64 v8a, android-31 | Google APIs ARM 64 v8a Android NDK: Not Found IDEs: Android Studio: Not Found Xcode: 13.1/13A1030d - /usr/bin/xcodebuild Languages: Java: 1.8.0_292 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: 17.0.2 => 17.0.2 react-native: ^0.66.1 => 0.66.1 react-native-macos: Not Found npmGlobalPackages: *react-native*: Not Found

Steps to reproduce

Create a component with TextInput in it. Try to disable ActionMode using available props

Snack, code example, screenshot, or link to a repository

https://developer.android.com/reference/android/view/ActionMode
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs: Triage 🔍Platform: AndroidAndroid applications.StaleThere has been a lack of activity on this issue and it may be closed soon.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions