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

onMove receives inconsistent parentId and index #247

Open
davidnaas opened this issue Apr 23, 2024 · 0 comments
Open

onMove receives inconsistent parentId and index #247

davidnaas opened this issue Apr 23, 2024 · 0 comments

Comments

@davidnaas
Copy link

davidnaas commented Apr 23, 2024

Inconsistent index
Cursor would imply new index should be 1 but is reported as 2
Kapture 2024-04-23 at 12 23 49

Inconsistent parentId
Cursor and node.willReceiveDrop indicates that a drop will NOT happen, yet parentId is that of the Box rather than Container

This behaviour only happens after first moving Slider into a Box, then out again. Somehow that Slider continues to receive the Box as the parent when being moved. It should also be noted that those boxes are internal nodes in all cases, i.e. children is always an array
Kapture 2024-04-23 at 12 21 57

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

No branches or pull requests

1 participant