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 #11513: Tree wrong dnd index for sibling going down #11515

Merged
merged 1 commit into from Feb 23, 2024

Conversation

melloware
Copy link
Member

@melloware melloware commented Feb 23, 2024

Fix #11513: Tree wrong dnd index for sibling going down

This has been wrong for a long time. I was always doing prevAll.length and never nextAll.length so when moving a sibling down it was off by 1 error.

@melloware melloware added the 🐞 defect Bug...Something isn't working label Feb 23, 2024
@melloware melloware merged commit fa1d056 into primefaces:master Feb 23, 2024
10 checks passed
@melloware melloware deleted the PF11513 branch February 23, 2024 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 defect Bug...Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tree: DnD Using onDrop controlled mode results in wrong child order
1 participant