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: #7200 Fix Drag Selection for Datatable #7217

Merged
merged 2 commits into from
Sep 19, 2024

Conversation

gcko
Copy link
Contributor

@gcko gcko commented Sep 19, 2024

Defect Fixes

fix: #7200 Fix Drag Selection for Datatable
Fix #7221

The existing implementation of allowRowDrag takes an "event" and passes it through to allowDrag, however allowDrag expects the event parameter to have originalEvent as a property. This PR fixes that issue.

Copy link

vercel bot commented Sep 19, 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 Sep 19, 2024 6:16am
primereact-v9 ⬜️ Ignored (Inspect) Visit Preview Sep 19, 2024 6:16am

Don't restructure `originalEvent` in `allowRowDrag`, just pass the full event through from `onRowDragStart`
@melloware melloware merged commit 504afcc into primefaces:master Sep 19, 2024
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
2 participants