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
1 changed files with 1 additions and 1 deletions

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
}