-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Description
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Issues:
- New text input requires extra keystroke when using tab to get focus
- Autofocus is not set correctly.
Action Performed:
- Open the Login page.
- Observe the email input.
- Go to the password page, observe the password input. It is auto-filled, but input is not focused.
- Now try to navigate use the Tab key. Users have to press tag two times to set the focus on Input.
Expected Result:
When autofocus is used, Input should be focused and the border should be shown on the input.
The label should float top when input is focused.
Single Tab keystroke should set the focus in the input.
Actual Result:
Input is not focused and the label is overriding the Input text. The cursor is placed on the Input but the label is not placed correctly and there is no blue border that shows the focused state. Users have to press the tab two times to get focus on the input.
Workaround:
Clear the input and refocus.
Platform:
Where is this issue occurring?
- Web
- Desktop App
- Mobile Web
Version Number:
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

Video
https://expensify.slack.com/files/UDQLCFDRA/F02AZA1V0GL/2021-08-10_10-31-21.mp4
Expensify/Expensify Issue URL:
Slack => https://expensify.slack.com/archives/C01GTK53T8Q/p1628627644189200