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

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.

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

No branches or pull requests

2 participants