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

Animate a line example broken in safari (>= 5.0.0) #5388

Open
cocorossello opened this issue Jan 22, 2025 · 2 comments
Open

Animate a line example broken in safari (>= 5.0.0) #5388

cocorossello opened this issue Jan 22, 2025 · 2 comments
Labels
bug Something isn't working good first issue Good for newcomers PR is more than welcomed Extra attention is needed

Comments

@cocorossello
Copy link

cocorossello commented Jan 22, 2025

maplibre-gl-js version: 5.0.0, 5.0.1

browser: Any Safari. Tested with Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.6 Safari/605.1.15

Steps to Trigger Behavior

  1. Open https://maplibre.org/maplibre-gl-js/docs/examples/animate-a-line/ with safari
  2. Try to hit the pause button or select the code, animation seems to be on top and will not let you do that
  3. Try the example, without the animation. It works

This happens with maplibre 5.0.0 and 5.0.1. No errors in the concole log

Expected Behavior

Pause button works and stops the animation

Actual Behavior

Pause button does not work

@HarelM
Copy link
Collaborator

HarelM commented Jan 22, 2025

Any chance you can try and debug this? The example is pretty straight forward...

@HarelM HarelM added bug Something isn't working good first issue Good for newcomers PR is more than welcomed Extra attention is needed labels Jan 22, 2025
@cocorossello
Copy link
Author

cocorossello commented Jan 22, 2025

I tried, but didn't see why this happens.

For some reason, even if the map is inside an iframe, it blocks the whole page, it won't let me even click the "copy to clipboard" button, which is outside of the iframe.

Looks like a bug in safari, but this does not happen in previous versions of maplibre.

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers PR is more than welcomed Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants