Files
react-native/packages
Alan Lee 08eed9f093 fix TextInput 'contextMenuHidden' prop (#45014)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/45014

`TextInput`'s `contextMenuHidden` prop isn't working working as expected.
It should hide the context menu (copy/paste/...) that pops up from input text.

Reference: [Android doc](https://developer.android.com/reference/android/widget/TextView#setCustomSelectionActionModeCallback(android.view.ActionMode.Callback))
> Returning false from `ActionMode.Callback.onCreateActionMode(ActionMode, android.view.Menu)` will prevent the action mode from being started.

**Changelog:** [Android][Fixed] - TextInput's `contextMenuHidden` prop bug fix

Reviewed By: javache

Differential Revision: D58684366

fbshipit-source-id: 328c267ed0e896a78e114578e3a00adf41f2e095
2024-10-07 14:56:09 +01:00
..
2023-09-26 10:27:39 -04:00
2023-12-14 13:46:03 +00:00
2024-02-20 13:55:28 -08:00
2024-02-05 13:18:42 -08:00
2023-09-27 12:36:19 -04:00
2023-09-26 10:27:39 -04:00
2024-04-30 10:07:20 +00:00
2023-12-14 13:46:03 +00:00