-
Notifications
You must be signed in to change notification settings - Fork 24.8k
Open
Labels
Component: TextInputRelated to the TextInput component.Related to the TextInput component.Needs: React Native Team AttentionPlatform: iOSiOS applications.iOS applications.Type: New ArchitectureIssues and PRs related to new architecture (Fabric/Turbo Modules)Issues and PRs related to new architecture (Fabric/Turbo Modules)
Description
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
- Run the snack
- Switch on "Enable outline"
- Press on the text input
- 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
Labels
Component: TextInputRelated to the TextInput component.Related to the TextInput component.Needs: React Native Team AttentionPlatform: iOSiOS applications.iOS applications.Type: New ArchitectureIssues and PRs related to new architecture (Fabric/Turbo Modules)Issues and PRs related to new architecture (Fabric/Turbo Modules)