You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a virtualized list where a dragged item can be removed from the list when moved due to virtualization. If the user drags the item, brings it back to its original position, and presses the Esc key to cancel the drag, the onDrop event doesn’t trigger until the mouse is released. Instead, the onDragLeave event fires, but this also happens when the item is dragged out of the drop target.
To work around this, I tried using keyboard events to detect the Esc key press. However, the issue is that onDragLeave gets triggered even before the onKeyUp event, and the onKeyDown event doesn’t trigger at all.
The text was updated successfully, but these errors were encountered:
We have a virtualized list where a dragged item can be removed from the list when moved due to virtualization. If the user drags the item, brings it back to its original position, and presses the Esc key to cancel the drag, the onDrop event doesn’t trigger until the mouse is released. Instead, the onDragLeave event fires, but this also happens when the item is dragged out of the drop target.
To work around this, I tried using keyboard events to detect the Esc key press. However, the issue is that onDragLeave gets triggered even before the onKeyUp event, and the onKeyDown event doesn’t trigger at all.
The text was updated successfully, but these errors were encountered: