This repository has been archived by the owner on Sep 8, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 194
Cannot read property '0' of undefined #205
Comments
mackenzieajudd
added a commit
to mackenzieajudd/ui-layout
that referenced
this issue
Apr 20, 2016
After further investigation it looks like the issue is actually coming from mouseMoveHandler not handling a mouse position of 0 correctly. |
mackenzieajudd
added a commit
to mackenzieajudd/ui-layout
that referenced
this issue
Apr 20, 2016
mackenzieajudd
added a commit
to mackenzieajudd/ui-layout
that referenced
this issue
Apr 21, 2016
mackenzieajudd
added a commit
to mackenzieajudd/ui-layout
that referenced
this issue
Apr 21, 2016
@mackenzieajudd |
experiencing same issue. |
Having the same problem. Looks like we will have to make changes to ui-layout manually because it's a long dead project. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Steps to Reproduce (Using attached Plunker):
Environment:
Plunker to Reproduce: http://plnkr.co/edit/Ex2Iwnt2BfzZ0kyuOK1H
It appears that the issue is on line 179 of ui-layout.js and occurs only when jQuery is being used. I think it's just a case of checking if mouseEvent.originalEvent.targetTouches is defined before trying to access its "0" property.
If I get a chance I'll submit a pull request fixing this soon.
The text was updated successfully, but these errors were encountered: