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(Dropdown): prevent event bubbling when dropdown click #7317

Merged
merged 2 commits into from
Oct 8, 2024

Conversation

KumJungMin
Copy link
Contributor

@KumJungMin KumJungMin commented Oct 8, 2024

Defect Fixes

fix #7309

How to resolve

  • When there is a Dropdown inside the DataTable, clicking the Dropdown triggers the DataTable's click event.
  • To resolve this issue, I prevent event bubbling in the Dropdown's onClick event handler.

result

2024-10-08.9.29.59.mov

Copy link

vercel bot commented Oct 8, 2024

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

2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
primereact ⬜️ Ignored (Inspect) Visit Preview Oct 8, 2024 0:33am
primereact-v9 ⬜️ Ignored (Inspect) Visit Preview Oct 8, 2024 0:33am

@melloware melloware merged commit 85d2ddd into primefaces:master Oct 8, 2024
6 checks passed
@KumJungMin KumJungMin deleted the fix/issue-7309 branch October 8, 2024 13:02
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.

DataTable: onSelectionChange getting fired on column element click also
2 participants