-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Fix #14010, #13162, #13768, #13082, #10472 #15263
Conversation
…10472): dialog focuses on content on show
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
Hi @BGBRWR Thanks for fixing all these issues, we appreciate the effort and support! |
@cetincakiroglu @BGBRWR this PR introduced some unexpected behaviour. Now anything focusable inside the dialog gets focus, for instance I have a form inside a modal, where the first focusable element is a p-calendar, this opens the calendar overlay immediately, but we don't want that, because it covers other form elements. Wether to focus the first focusable element within a dialog should be configurable with an option. |
After this fix i run into errors with |
You can set |
Tried that, doesn't work. Your code seems to ignore the flag |
Another issue introduced by this PR. core.mjs:6531 ERROR RangeError: Maximum call stack size exceeded |
@rbbp23 Have you found any solution to this? This error completely breaks our ui ordering when it occurs, something weird happens with the z-index and things start appearing underneath random components on the page. |
You should create an issue with a stackblitz reproducing the bug because I'm not able to reproduce it myself. |
You should create an issue with a stackblitz reproducing the bug because I'm not able to reproduce it myself. |
fix #14010, fix #13162, fix #13768, fix #13082, fix #10472