Skip to content

fix(TextInput): remove extra keyboard focus stop on wrapper Pressable - #5289

Open
EnesKartal wants to merge 1 commit into
callstack:mainfrom
EnesKartal:fix/textinput-focus-stop
Open

EnesKartal wants to merge 1 commit into
callstack:mainfrom
EnesKartal:fix/textinput-focus-stop

Conversation

@EnesKartal

Copy link
Copy Markdown
Contributor

Fixes #5281.

TextInput wraps the field in a <Pressable onPress={focusInput}> with accessible={false}, which still left the wrapper in the keyboard tab order on web (tabindex="0") and Android (focusable={true}).

Changes

  • Add focusable={false} and tabIndex={Platform.OS === 'web' ? -1 : undefined} to the outer <Pressable> wrapper in src/components/TextInput/TextInput.tsx so pointer presses still focus the input without adding an extra keyboard stop.
  • Update TextInput.test.tsx.snap for focusable={false}.

Copilot AI balanced review requested due to automatic review settings November 23, 2026 16:37

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@github-actions

Copy link
Copy Markdown

Found potential problems with the pull request:

  • Screenshot or video evidence is missing. Make sure to include one if it affects the UI.

@Doberjohn Doberjohn added this to the 6.1.0 milestone Nov 24, 2026
@Doberjohn

Copy link
Copy Markdown
Collaborator

Thanks! 6.0 now takes only regressions and major bugs, so this is on the 6.1.0 milestone and gets its review after 6.0.0. Could you add before and after screenshots or a short video in the meantime?

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TextInput: the field's wrapper is an extra keyboard stop before the input on web and Android

3 participants