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
Drag drop with virtual scroll reverses order of items #15473
Comments
We are seeing this too after upgrading Angular Material to: 7.3.7 from 7.3.3. Edit: |
Is there an update on that ? Also we are noticing that for huge data sizes the data is shown in wrong order when using the cdkVirtualFor for After closing and reopening the select the items 'sometimes' show up in a correct order. |
Hi, we have the same problem. The workaround from @Halt001 not working for us. I found this example: https://stackblitz.com/edit/drag-drop-virtual-scroll |
Any update on this? We are seeing the same behaviour as shown in @entilzah example. |
Same issue, tried wrapping in ng-container or on the item. No difference. https://stackblitz.com/edit/drag-drop-virtual-scroll as posted by entlizah best example of this. Remove the cdkDrag attributes and it works. Currently stopping me from using virtual scroll, which is a real pain. |
This is fixed if you upgrade to angular 8 and the latest angular material. |
What is the expected behavior?
Adding cdkDrag to an item in a cdkVirtualFor should not reverse the list order
What is the current behavior?
Adding cdkDrag to an item in a cdkVirtualFor reverses the list order
What are the steps to reproduce?
https://angular-qcyrur.stackblitz.io
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular: 7.2.9
Angular Material: 7.3.4
OS: any
Browser: any
Is there anything else we should know?
The text was updated successfully, but these errors were encountered: