-
-
Notifications
You must be signed in to change notification settings - Fork 867
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
[FEATURE] Adjust fling animation (spring) physics for fast & small drag gestures #1768
Comments
Can't reproduce the described problem. See my video below.
This input field has a reason. Please let us know
Aufzeichnung.2023-12-10.113445.mp4 |
Thanks @josxha flutter_map: small drag causes large position changes, up to a whole screen width (small fling causes high velocity) By the way, I vaguely remember Maplibre Native (for Flutter) had similar issues with getting "natural" (industry average) drag behavior (but that was for touch drag, not mouse pointer, but probably the same), but that it was fixed 3-6 months ago (in development branch). I haven't tested their code since, it's only now that I'm getting back into using a map widget. My position is that it's easy to gain Flutter adoption if users are not surprised by the behavior of widgets. Users expect what they're used to, e.g. that of native Apple/Google Maps, so that is my reference for "expected behavior". |
Thanks a lot for the additional information and video. I added it to #1733. If you dont mind I'll ping you when the changes are implemented so that you can test it? |
What is the bug?
On web, when using mousedown-drag-mouseup to move the map, even a small distance (e.g. 20px) causes the map to move a far distance (e.g. 1 full window width).
Expected behavior (industry standard) is much less acceleration.
See Google Maps, Bing Maps, and Apple Maps.
How can we reproduce it?
Do you have a potential solution?
No response
Platforms
web
Severity
Obtrusive: Prevents normal functioning but causes no errors in the console
The text was updated successfully, but these errors were encountered: