Fix DND throwing errors due to browser API updates
This commit is contained in:
parent
c0badb9c2a
commit
9957acaccb
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue