-
Notifications
You must be signed in to change notification settings - Fork 645
Closed
Labels
bugSomething isn't workingSomething isn't workingcomponent: TextInputprimer-qualityreactsize: pebblestaffAuthor is a staff memberAuthor is a staff member
Description
Description
The input focus behavior is broken when using a TextInput with input types such as date and time. Regardless of which part of the input is clicked, focus is reset to the beginning.
Keyboard tab behavior works fine however. Each tab press moves the focus to the next date/time field.
CleanShot.in.Safari-2024-04-10.at.17.33.49.mp4
Identified on primer/react v35.32.2, but was also able to reproduce on the latest version v36.13.0
Steps to reproduce
- Go to https://codesandbox.io/p/sandbox/wizardly-sinoussi-42ktdx
- Click on the day, year or time fields in the input box
Version
v35.32.2
Browser
Safari
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcomponent: TextInputprimer-qualityreactsize: pebblestaffAuthor is a staff memberAuthor is a staff member