-
Notifications
You must be signed in to change notification settings - Fork 386
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
VerticalLayout without virtual layout throws error on drag/drop #1819
Comments
@joshtynjala I have the same issue + two more. All issues are related to drag and drop. First, with Since the items are virtual, not all of them are constructed and somehow this gives an error. This prompted me to stop using a virtual layout. Second, with This I managed to debug a bit:
In the for, Third, while testing on the List in the component explorer, the item being dragged, changed text. I think data is still being referenced from the initial object and that changes with the virtual layout. |
This is a fix for the first and second problem. |
When dragging an item to the end of a list with a non-virtual vertical layout, the following error is thrown:
In VirticalLayout.as,
item.y
is accessed without testing for the existence ofitem
.Below is an example to recrate the issue:
The text was updated successfully, but these errors were encountered: