-
Notifications
You must be signed in to change notification settings - Fork 6
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
Doesn't work on safari #1
Comments
Unfortunately, Safari doesn't support Pointer Events yet. React v16.4.0 release notes say this:
So, you need a polyfill. I believe this is the best one: https://github.com/jquery/PEP. |
what would be the propery way to add this polyfill ? |
You'd add it by including the polyfill script tag in your document. As of now, Safari (even iOS Safari) does support Pointer Events so I can't really test the polyfill anywhere. As far as I know, Here is a demo I found explaining what Here is an explanation from the polyfill: https://github.com/jquery/PEP#touch-action Here is its documentation of the CSS property in the specs: https://www.w3.org/TR/pointerevents/#the-touch-action-css-property Let me know what problems you are running into. |
@stardust66 thanks for your superb explanations ! |
Hi guys!
I've been using the react-longpressable to develop an application at work and I realised that isn't working on safari, is there any chance to make it working on safari?
Thanks!
The text was updated successfully, but these errors were encountered: