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

Support pointer events #12881

Closed
imaus10 opened this issue May 22, 2018 · 2 comments
Closed

Support pointer events #12881

imaus10 opened this issue May 22, 2018 · 2 comments

Comments

@imaus10
Copy link

imaus10 commented May 22, 2018

Pointer events are currently "unknown event handler properties" in React.

What is the current behavior?

This JS fiddle shows that attaching the onPointerDown event to a div produces this warning in the console:

Warning: Unknown event handler property `onPointerDown`. It will be ignored.
    in div (created by App)
    in App

What is the expected behavior?

Although pointer events are not supported by Apple, they are still useful to developers targeting other platforms. Perhaps a good middle ground would be to allow them, but print a console warning saying they may not work. Happy to put together a PR if someone points me in the right direction!

@jquense
Copy link
Contributor

jquense commented May 22, 2018

#12507 was recently merged!

@jquense jquense closed this as completed May 22, 2018
@imaus10
Copy link
Author

imaus10 commented May 22, 2018

Awesome! Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants