Skip to content

DEV: rely on modal autofocus #82

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

Merged
merged 1 commit into from
Jan 8, 2025
Merged

DEV: rely on modal autofocus #82

merged 1 commit into from
Jan 8, 2025

Conversation

jjaffeux
Copy link
Contributor

@jjaffeux jjaffeux commented Jan 8, 2025

Every DModal has an automatic behavior where it will attempt to focus the first focusable element, the autofocus={{true}} is unnecessary and would also print a warning in the browser console as each behavior fight with each other.

Every DModal has an automatic behavior where it will attempt to focus the first focusable element, the `autofocus={{true}}` is unnecessary and would also print a warning in the browser console as each behavior fight with each other.
@jjaffeux jjaffeux merged commit cbc39e4 into main Jan 8, 2025
4 checks passed
@jjaffeux jjaffeux deleted the modal-autofocus branch January 8, 2025 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants