-
-
Notifications
You must be signed in to change notification settings - Fork 738
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
Momentum scrolling seems instant on MacOS with reduced motion #2238
Comments
I don't think maplibre has versions 2.12, 2.13... |
You're right, it's the latest version (if that's the one on maplibre.org).
On a mac, go to accessibility settings, then to
And not sure what you mean with can this be tested? Anyways, I'm pretty sure this is the culprit: maplibre-gl-js/src/ui/camera.ts Line 1098 in 04ea214
|
You're probably right, feel free to sumbit a PR that fixes this if you have a good idea how to solve this. |
Fixed by #3068. |
maplibre-gl-js version: 2.4.0 (also posted this on MapBoxGL)
browser: Chrome, safari (on MacOS)
Steps to Trigger Behavior
Link to Demonstration
Note how the map instantly teleports to a new location when the cursor changes from 'dragging' to 'normal'.
maplibre.mov
Expected Behavior
There are two ways dragging and letting go while having momentum should work:
Actual Behavior
Map 'teleports' to position further then where the mouse is let go. I suspect that it instantly teleports to the calculated 'momentum' position (where it should come to a stop), but the animation is 0ms long. But this is just a guess coming from someone who doesn't know the internals of course.
The text was updated successfully, but these errors were encountered: