Bug Tracker

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#13749 closed bug (worksforme)

MSPointer Events have empty "originalEvent" object and no pageX/Y coordinates

Reported by: JoernBerkefeld Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.9.1
Keywords: Cc:
Blocked by: Blocking:


Titles says it all. Test-Case: http://jsfiddle.net/JoernBerkefeld/eNgJk/1/

Change History (7)

comment:1 Changed 10 years ago by dmethvin

Resolution: worksforme
Status: newclosed

I don't see a problem, originalEvent isn't empty. Don't expect JSON.stringify to serialize constructed objects.


comment:2 Changed 10 years ago by JoernBerkefeld

... and you actually tested this on Win8/RT in IE10 which supports the MSPointer-Events? On my Surface Tablet that sure is not the case.

comment:3 Changed 10 years ago by dmethvin

IBM Thinkpad X1 Carbon Touch, Windows 8 with IE10. Does my test case give you a pageX value?

comment:4 Changed 10 years ago by JoernBerkefeld

that's what I tried first and only got an "undefined" - which is why i tried to take a deeper look into the object with JSON.stringify... will try again tomorrow morning with your fiddle (in ~10 hours). maybe triggering the event via touch or mouse changes the results. did try it with your finger or mouse?

comment:5 Changed 10 years ago by dmethvin

Both mouse and touch work with my test case on my system.

comment:6 Changed 10 years ago by m_gol

I checked in IE10. It works, dmethvin's fiddle prints pageX to the console properly.

I tried with mouse only, though, I don't have a Windows tablet.

comment:7 Changed 10 years ago by JoernBerkefeld

weird - sorry for the trouble, but now the very same taste that only printed "undefined" yesterday seems to work just fine...

case closed

Note: See TracTickets for help on using tickets.