1
0
Fork 0
mirror of synced 2024-07-03 05:20:32 +12:00

Fix DND throwing errors due to browser API updates

This commit is contained in:
Andrew Kingston 2022-01-20 11:52:29 +00:00
parent c0badb9c2a
commit 9957acaccb

View file

@ -143,7 +143,7 @@
// Callback when entering a potential drop target
const onDragEnter = e => {
// Skip if we aren't validly dragging currently
if (!dragInfo) {
if (!dragInfo || !e.target.closest) {
return
}