Skip to content
This repository has been archived by the owner on Jul 28, 2021. It is now read-only.

calling 'dispatchEvent' of null #4

Open
ghost opened this issue Dec 9, 2013 · 1 comment
Open

calling 'dispatchEvent' of null #4

ghost opened this issue Dec 9, 2013 · 1 comment

Comments

@ghost
Copy link

ghost commented Dec 9, 2013

I got this error, in my implementation of drag and drop on android 4.0, It happens when you drag element out of window to address bar. To fix this I added ' || document.body;' in lines 347 and 407, because in this case function document.elementFromPoint returns null.

@moll
Copy link

moll commented Jan 6, 2014

I can confirm something similar happens on iOS v7.0.3 when dragging things out towards the browser chrome:

TypeError: 'null' is not an object (evaluating 'previousTarget.contains')

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant