You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On iOS, if TextInput with overflow: hidden is rendered with an outline while focused, it immediately loses focus. This also means that if outline is used to indicate focus state (like on web), the TextInput becomes impossible to interact with.
Steps to reproduce
Run the snack
Switch on "Enable outline"
Press on the text input
Notice how the keyboard closes immediately, and the text input loses focus
Description
On iOS, if
TextInputwithoverflow: hiddenis rendered with an outline while focused, it immediately loses focus. This also means that if outline is used to indicate focus state (like on web), theTextInputbecomes impossible to interact with.Steps to reproduce
React Native Version
0.80.1
Affected Platforms
Runtime - iOS
Output of
npx @react-native-community/cli infoStacktrace or Logs
MANDATORY Reproducer
https://snack.expo.dev/@simplecreations/ios---adding-outline-to-textinput-causes-it-to-lose-focus
Screenshots and Videos
RPReplay_Final1755863784.MP4