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

Fix #14323: Dropdown fix regression - options overlay is closed before it handles the click event #14419

Conversation

anlampe
Copy link
Contributor

@anlampe anlampe commented Dec 21, 2023

Fixes #14323 created with f52340b

When selecting a dropdown option inside an OverlayPanel the click event also has to be processed by the options overlay and the OverlayService. Otherwise the OverlayPanel is not aware that the click on the option is a click on its content => OverlayPanel is closed. Unfortunately when improving the accessability an older "workaround" which handels the issue was removed and has now been added again.

Before:
Dropdown inside overlay panel (Before)

After:
Dropdown inside overlay panel (After)

@cetincakiroglu would be great if you could have a look! 😄

Copy link

vercel bot commented Dec 21, 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) Visit Preview Dec 21, 2023 2:40pm

@cetincakiroglu cetincakiroglu merged commit d036cd6 into primefaces:master Dec 28, 2023
3 of 5 checks passed
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.

Overlay Panel: Interaction with components inside panel template cause panel to hide
2 participants