Blazor Virtualize component can works with draggable item event #28877
Unanswered
davidegolzi
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi , this is my first post. I try to understand if Virtualize component can work well with Drag event.
before switch to Virtualize i have two list too big to render in a accettable time, but i was able to implement a drag&drop between lists using draggable="true" and ondragstart, ondragEnd in the left list and ondragenter, ondragleave, ondrop in the right list.
ondragstart => set the item i want to drag and create the dropzone in the right list
ondragEnd => clear the item and the dropzone
ondragenter => set the target item
ondragleave => clear the target item
ondrop => perform the drop event
When i shift to virtualize i see that after ondragstart the ondragEnd is fired probabli because the virtual list is rerendered.
how can i implement correct drag and drop between two virtualized list?
thans in advance
Beta Was this translation helpful? Give feedback.
All reactions