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 #6996: keep the selected row in its position when it gets focused below… #7022

Merged
merged 1 commit into from
Aug 11, 2024

Conversation

KumJungMin
Copy link
Contributor

Defect Fixes

How to resolve

  • Previously, the droppedRowIndex was updated when the row was focused at the bottom.
    In the modified code, the droppedRowIndex is not updated if the focus occurs at the bottom of the row directly above the selected row :)

Result

result.mov

Copy link

vercel bot commented Aug 10, 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 Aug 10, 2024 4:39pm
primereact-v9 ⬜️ Ignored (Inspect) Visit Preview Aug 10, 2024 4:39pm

@melloware melloware added the Type: Bug Issue contains a defect related to a specific component. label Aug 11, 2024
@melloware melloware merged commit 9bc0a62 into primefaces:master Aug 11, 2024
6 checks passed
@KumJungMin KumJungMin deleted the fix/issue-6996 branch August 14, 2024 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a defect related to a specific component.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DataTable: Reorder for the last row give wrong dropIndex
2 participants