-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$(document).hammer() error #688
Comments
by the way on chrome I got this Uncaught TypeError: Cannot read property 'defaultView' of null |
I'm getting the same error on Chrome too. Any clue? |
I noticed that stoppropagation and prevent defaults won't work properly too parents always firing |
I found that the issue is related to the fact that hammerjs does not handle window as element, but it's always trying to find it by getting the parent window, useful for iframes for example. Anyway I've just reported that, see #644 and I think we can close this. |
+1 for fixing this issue, we've temporarily switched all |
$(document).hammer() i want to bind all dom elements to hammer but I'm getting this error.
TypeError: null is not an object (evaluating 'doc.defaultView')
I migrate my project from 1.x on 1.x there is no such error.
Any ideas?
The text was updated successfully, but these errors were encountered: