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 d494e53786
commit 86e0e8acc2
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
}