Fix DND throwing errors due to browser API updates
This commit is contained in:
parent
d494e53786
commit
86e0e8acc2
|
@ -143,7 +143,7 @@
|
||||||
// Callback when entering a potential drop target
|
// Callback when entering a potential drop target
|
||||||
const onDragEnter = e => {
|
const onDragEnter = e => {
|
||||||
// Skip if we aren't validly dragging currently
|
// Skip if we aren't validly dragging currently
|
||||||
if (!dragInfo) {
|
if (!dragInfo || !e.target.closest) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue