You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Both mouse and keyboard methods for establishing focus on form fields are not working correctly.
To Reproduce
Steps to reproduce the behavior:
Go to 'User List' page
Click on 'Add User' button
Observe the 'First Name' Input field has focus
Press the 'Tab' key
OR
Attempt to click the 'Last Name' Input field with the mouse
In either case, incorrect behavior is observed. When pressing 'Tab', the Dialog becomes focused instead of the next form field. Pressing 'Tab' again returns focus back to 'First Name'. When using the mouse, the first click also sets focus to the Dialog. A second click is necessary for 'Last Name' to receive focus.
Expected behavior
In both cases, with the keyboard or mouse, I would expect the "Last Name" field to receive focus. Where 'Tab' presses are concerned, I would never expect the Dialog to receive focus. The is the behavior you see in the official documentation for the shadcn/ui Dialog component here: https://ui.shadcn.com/docs/components/dialog
Screenshots
n/a
Additional context
n/a
The text was updated successfully, but these errors were encountered:
Describe the bug
Both mouse and keyboard methods for establishing focus on form fields are not working correctly.
To Reproduce
Steps to reproduce the behavior:
OR
Attempt to click the 'Last Name' Input field with the mouse
Expected behavior
In both cases, with the keyboard or mouse, I would expect the "Last Name" field to receive focus. Where 'Tab' presses are concerned, I would never expect the Dialog to receive focus. The is the behavior you see in the official documentation for the shadcn/ui Dialog component here: https://ui.shadcn.com/docs/components/dialog
Screenshots
n/a
Additional context
n/a
The text was updated successfully, but these errors were encountered: