Closed kapoko closed 1 year ago
Thank you so much for you contribution @kapoko! This was super helpful as I wasn't able to find a good way to debug the issues in Safari.
I trust that this works, but if you discover any further issues, please open a new PR.
Fixes #427
Noticed this problem in Firefox as well. I think this pull request addresses 2 little problems:
dragover
event gets fired continuously during dragging. On the callback the DOM is manipulated to update the list. Somehow Chrome handles this pretty well but on Firefox it just flooded the event queue I guess and thedrop
event was not fired most of the time. I added a simple check below to see if we should update the DOM or not.Tested on Firefox, Safari and Chrome. Thanks for your work!