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

autofocus by default dynamic dialog #13113

Conversation

brKlaus
Copy link
Contributor

@brKlaus brKlaus commented May 29, 2023

Defect Fix

This PR is linked to issue #12720. This exists since the fix for #12319, as [autofocus] elements were no longer taken into account; only the first focusable element is considered now.

@vercel
Copy link

vercel bot commented May 29, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
primeng ⬜️ Ignored (Inspect) May 29, 2023 11:23pm

@TheNickmaster21
Copy link

I believe this will fix some issues we are having where opening dialogs is causing focus on the first focusable element with no respect to autofocus. We don't want anything to focus automatically when our dialog opens, especially because the first field is a calendar which does not play nicely being opened before the dialog is finished rendering.

@mertsincan
Copy link
Member

Hi @brKlaus,

Thanks a lot for your contribution!

Best Regards,

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

Successfully merging this pull request may close these issues.

3 participants