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

Modal/ConfirmationModal: Maintain focus #1059

Open
Dampolo03 opened this issue Mar 28, 2024 · 1 comment
Open

Modal/ConfirmationModal: Maintain focus #1059

Dampolo03 opened this issue Mar 28, 2024 · 1 comment
Labels
Accessibility Bug 🐛 Something isn't working P3 Triaged Issue has been reviewed as part of legacy backlog grooming (project P3). Triaged: v4 Triaged, to be implemented as part of Vanilla v4

Comments

@Dampolo03
Copy link

Dampolo03 commented Mar 28, 2024

I have a ConfirmationModal or Modal with children - Input and TextArea components. When I focus into the text area and begin to type, there's some sort of re-render, the focus keeps getting lost from the text area and returns to the input component.
screencast-gif

@bartaz
Copy link
Member

bartaz commented Mar 28, 2024

There is some logic in the modal to keep focus within it (so when focus moves out it returns to first focusable element). It seems like this issue may be related to that functionality.

@bartaz bartaz added Bug 🐛 Something isn't working Accessibility P3 Triaged Issue has been reviewed as part of legacy backlog grooming (project P3). Triaged: v4 Triaged, to be implemented as part of Vanilla v4 labels Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accessibility Bug 🐛 Something isn't working P3 Triaged Issue has been reviewed as part of legacy backlog grooming (project P3). Triaged: v4 Triaged, to be implemented as part of Vanilla v4
Projects
None yet
Development

No branches or pull requests

2 participants