TextInput contextMenuHidden does not hide autofill #43452
Labels
Component: TextInput
Related to the TextInput component.
Issue: Author Provided Repro
This issue can be reproduced in Snack or an attached project.
Description
In iOS 17 a new "Autofill" option was added to the context menu for
<TextInput>
. This option is not hidden when we usecontextMenuHidden
. We've tried using a combination of other props, such asautoComplete
,keyboardType
, andtextContentType
, but it always persists.It's possible to hide it by adding
pointerEvents="none"
(orbox-only
), but we want to be able to interact with the field.Steps to reproduce
<TextInput contextMenuHidden>
React Native Version
0.73.6
Affected Platforms
Runtime - iOS
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://snack.expo.dev/@believer/react-native-autofill-tooltip
Screenshots and Videos
contextMenuHidden
contextMenuHidden
The text was updated successfully, but these errors were encountered: