#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: |
Description
Titles says it all. Test-Case: http://jsfiddle.net/JoernBerkefeld/eNgJk/1/
Change History (7)
comment:1 Changed 10 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:2 Changed 10 years ago by
... 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
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
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:6 Changed 10 years ago by
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
weird - sorry for the trouble, but now the very same taste that only printed "undefined" yesterday seems to work just fine...
case closed
I don't see a problem, originalEvent isn't empty. Don't expect
JSON.stringify
to serialize constructed objects.http://jsfiddle.net/eNgJk/7/