-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Focus a default button instead of a close button in dialogs #1714
Comments
I actually re introduced the close button on the pane, and have it absolutely positioned that way it isn’t the first interactive element. A potential solution here too |
Going back to our previous solution, the easiest thing is just to remove it. I'll play with it a little bit though, I have some ideas. |
Here's the solution for the pane: console/libs/ui/lib/side-modal/SideModal.tsx Lines 185 to 194 in 7638530
|
This is after hitting the instance menu -> Delete; the focus is around the close button but it would make more sense to focus a default button.
This is a particularly useful example where the default focus should absolutely not be the dangerous red "Confirm" button.
The text was updated successfully, but these errors were encountered: