TextInput right icons / icons get focussed on tab press

Offen
#3,684 0 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
45/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
react, react-native

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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

Vorherrschende Sprache
MDX
Sterne
25.9k
Forks
4.7k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus react-native-elements/react-native-elements

Alle Issues in react-native-elements/react-native-elements

Ähnliche Issues

Weitere Issues zu Accessibility

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.