After upgrade from 5.2.12 to 5.3.1, the zoom is very very slow.
Happens also on your examples site:
https://visgl.github.io/react-map-gl/examples/layers
What OS/browser are you using? Can you try scrollZoom={{smooth: false}}?
scrollZoom={{smooth: false}} fixes the problem for us.
We have seen the issue on:
I am also seeing the same thing after upgrading.. unfortunately the typescript types don't allow the scroll zoom props so I can do a PR to allow that
also just a note on this the issue is much more pronounced using a trackpad vs a wheel, probably due to frequency the scroll events fire
Thanks maybe enabling smooth zoom was premature. I can revert the default back to what it was and make this an opt-in feature instead.
@Pessimistress
Similar to whats written above, im using:
macOs 10/ Chrome 88
Also, im using typescript and dont have this prop type, will wait for @kentongray PR.
Thanks!
Fixed in 5.3.3/6.1.3
@Pessimistress indeed all works well with 5.3.3
Thanks!
Most helpful comment
Thanks maybe enabling smooth zoom was premature. I can revert the default back to what it was and make this an opt-in feature instead.