Side navigation
#11126 closed bug (invalid)
Opened January 03, 2012 09:21AM UTC
Closed January 03, 2012 02:37PM UTC
event.pageX returns NaN
Reported by: | JBenjaminsson | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.7.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I reported an issue over at jQuery Mobile but the problem seems to come from the removal of some "non-standard features" when jQuery 1.7 was released.
https://github.com/jquery/jquery-mobile/issues/3372
There seems to be a conflict between jQuery 7.x and jQuery mobile 1.0. When i updated from 1.6.4 my mobile site broke. When logging event.pageX i get NaN in desktop browser though it works fine in mobile safari. When using event.originalEvent.pageX instead it works on desktop browsers but not in mobile safari. Test code here:
http://jsfiddle.net/JBenjaminsson/DDuYQ/
Try different versions of jQuery!
I've tested in desktop versions of Chrome, Firefox and Safari with the same results.
Attachments (0)
Change History (1)
Changed January 03, 2012 02:37PM UTC by comment:1
resolution: | → invalid |
---|---|
status: | new → closed |
This looks like a Mobile bug (3380) that fixed a while back. The test case is using Mobile 1.0 (compressed!) rather than edge.