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

[Bug] Zooming in controlled Map is jumping #9

Open
caspg opened this issue Nov 20, 2024 · 0 comments
Open

[Bug] Zooming in controlled Map is jumping #9

caspg opened this issue Nov 20, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@caspg
Copy link

caspg commented Nov 20, 2024

Description

It looks that sometimes when I want to zoom in, it performs zoom out first.
I noticed that in the Side by Side example.

It behaves the same way with just one map when it's in "control" mode. You can test it here https://mapmatrix.veloplanner.com/ You can select just one panel and you will notice the behaviour.

CleanShot.2024-11-20.at.12.16.36.mp4

Expected Behavior

Smooth zooming

Steps to Reproduce

Open https://visgl.github.io/react-maplibre/examples/side-by-side and zoom in then zoom out.

Environment

  • Framework version: @vis.gl/react-maplibre@1.0.0-alpha.5
  • Map library: maplibre-gl@4.7.1
  • Browser: Chrome and Firefox
  • OS: Mac Sonoma 14.3.1

Logs

No response

@caspg caspg added the bug Something isn't working label Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant