Skip to content
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 on the first modal input when renaming a workspace #6371

Closed
gtsiolis opened this issue Oct 23, 2021 · 1 comment · Fixed by #6408
Closed

Focus on the first modal input when renaming a workspace #6371

gtsiolis opened this issue Oct 23, 2021 · 1 comment · Fixed by #6408
Assignees
Labels

Comments

@gtsiolis
Copy link
Contributor

Problem to solve

Following the changes in #5695 that re-introduced the ability to rename the workspace context description, however, triggering the modal does not focus on the first input element within the modal.

In general, for modals it's a good practice to auto-focus on the first focusable item. 💡

Proposal

When triggering the modal to rename a workspace, focus on the first and single modal input.

The scope of this issue is limited to the workspace rename modal but could be nice if all modals inherited this behavior. 🗺️

@iQQBot
Copy link
Contributor

iQQBot commented Oct 26, 2021

/assign

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants