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

Remove pointer events polyfill from examples #14816

Merged

Conversation

ahocevar
Copy link
Member

@ahocevar ahocevar commented Jun 9, 2023

I think it's now been long enough to wait for browsers without pointer events support to disappear.

@github-actions
Copy link

github-actions bot commented Jun 9, 2023

📦 Preview the website for this branch here: https://deploy-preview-14816--ol-site.netlify.app/.

@mike-000
Copy link
Contributor

mike-000 commented Jun 9, 2023

I presume you did not intend to add the Circle example via this PR?

@ahocevar ahocevar force-pushed the remove-pointer-events-polyfill-from-examples branch from 1b76a8b to cc2b33e Compare June 11, 2023 05:55
@ahocevar
Copy link
Member Author

Thanks, @mike-000. This was indeed unintentional.

Copy link
Contributor

@jahow jahow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like Safari was the last to add support and that was 4 years ago so, makes sense!

By the way elm-pep is mentioned here:

// Due to https://github.com/mpizenberg/elm-pep/issues/2, `this.originalPointerMoveEvent_`
// may not be initialized yet when we get here on a platform without native pointer events.

I guess it doesn't hurt to keep this workaround but maybe rephrasing the comment would make sense since elm-pep is not used anymore in the examples?

@ahocevar ahocevar merged commit 1247985 into openlayers:main Jun 19, 2023
@ahocevar ahocevar deleted the remove-pointer-events-polyfill-from-examples branch June 19, 2023 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants