You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With a drag zone that overflows the browser window, when dragging an item outside the browser window, errors will appear on the console because using doc.elementFromPoint returns null. MDN doc of elementFromPoint
Bug reports containing repro steps are likely to be fixed faster
The text was updated successfully, but these errors were encountered:
ayushkamadji
changed the title
Dragging outside the boundary causes error accessing method on a null object
Dragging outside the boundary causes error accessing attribute on a null object
Jun 21, 2024
With a drag zone that overflows the browser window, when dragging an item outside the browser window, errors will appear on the console because using
doc.elementFromPoint
returnsnull
. MDN doc of elementFromPointdragula/dist/dragula.js
Lines 170 to 177 in 09ab978
and this line tries to access
tagName
attribute on thatnull
object.dragula/dist/dragula.js
Line 604 in 09ab978
Screen.Recording.2024-06-21.at.13.53.22.mov
===
Dragula version: 3.7.3
The text was updated successfully, but these errors were encountered: