TextInput right icons / icons get focussed on tab press

Open
#3,684 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
react, react-native

Research direction

Start with the linked Snack reproduction and trace how TextInput right icons participate in web keyboard focus. Confirm the fix by tabbing through a form with several icon-bearing inputs and verifying that focus moves directly to the next input rather than stopping on an icon.

Written by the indexing model from the issue text.

Description

Needs Triage
Is there an existing issue for this?
  • I have searched the existing issues
Explain what you did

TextInput icons are focussed when we press tab on web. This has a weird behavior in some forms using icons, since you want to go to the next input using the tab.
When a user has a form with several inputs with icons and press tab in web, the icon is getting focussed instead of focussing the next input (you need to tab again once the icon is focussed).

Expected behavior

Icons shouldn't get focus.

Describe the bug

TextInput icons are focussed when we press tab on web. This has a weird behavior in some forms using icons, since you want to go to the next input using the tab.

Steps To Reproduce

Go to this repro snack. Code is taken from docs.
https://snack.expo.dev/@estebanchornet/rne-input

Screenshots

No response

Your Environment

No response

Dominant language
MDX
Stars
25.9k
Forks
4.7k
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from react-native-elements/react-native-elements

All issues in react-native-elements/react-native-elements

Similar issues

More Accessibility issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.