Bug Tracker

Modify

Ticket #11126 (closed bug: invalid)

Opened 17 months ago

Last modified 17 months ago

event.pageX returns NaN

Reported by: JBenjaminsson Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.7.1
Keywords: Cc:
Blocking: Blocked by:

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.

Change History

comment:1 Changed 17 months ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid

This looks like a Mobile bug (3380) that fixed a while back. The test case is using Mobile 1.0 (compressed!) rather than edge.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.