Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

api.MouseEvent.movementX - not supported in iOS Safari on pointermove events #19339

Closed
greggman opened this issue Apr 9, 2023 · 2 comments · Fixed by #26053
Closed

api.MouseEvent.movementX - not supported in iOS Safari on pointermove events #19339

greggman opened this issue Apr 9, 2023 · 2 comments · Fixed by #26053
Assignees
Labels
data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API

Comments

@greggman
Copy link

greggman commented Apr 9, 2023

What type of issue is this?

Incorrect support data (example: Chrome says "86" but support was added in "40")

What information was incorrect, unhelpful, or incomplete?

MDN says movementX and movementY are supported in Safari but they are not, on iOS Safari 16.3

example: https://jsgist.org/?src=64c32271a3e7ac51918146b111a2cfd9

Works in Safari on Mac, not in Safari on iOS

What browsers does this problem apply to, if applicable?

Safari

What did you expect to see?

expected to get values for movementX and movementY from the PointerEvent which inherits from MouseEvent according to MDN

Did you test this? If so, how?

https://jsgist.org/?src=64c32271a3e7ac51918146b111a2cfd9

Can you link to any release notes, bugs, pull requests, or MDN pages related to this?

https://bugs.webkit.org/show_bug.cgi?id=167775

Do you have anything more you want to share?

No response

MDN URL

https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/movementX

MDN metadata

MDN page report details
  • Query: api.MouseEvent.movementX
  • Report started: 2023-04-09T17:44:57.035Z
@queengooborg queengooborg added the data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API label Apr 9, 2023
@greggman
Copy link
Author

greggman commented Apr 9, 2023

Filed a new webkit bug: https://bugs.webkit.org/show_bug.cgi?id=255207

@MAG-ThomasGreenhalgh
Copy link

Believe this has now been fixed in iOS Safari 17: https://developer.apple.com/documentation/safari-release-notes/safari-17-release-notes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants