Skip to content

[iOS] Adding outline to TextInput causes it to lose focus #53440

@SimpleCreations

Description

@SimpleCreations

Description

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

  1. Run the snack
  2. Switch on "Enable outline"
  3. Press on the text input
  4. Notice how the keyboard closes immediately, and the text input loses focus

React Native Version

0.80.1

Affected Platforms

Runtime - iOS

Output of npx @react-native-community/cli info

N/A — reproduces via Expo Snack/Expo Go

Stacktrace or Logs

N/A

MANDATORY Reproducer

https://snack.expo.dev/@simplecreations/ios---adding-outline-to-textinput-causes-it-to-lose-focus

Screenshots and Videos

RPReplay_Final1755863784.MP4

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions