[BUG] Tracker: Gesture Handling #1529
Labels
bug
This issue reports broken functionality or another error
P: 2 (soon™?)
S: core
Scoped to the core flutter_map functionality
Milestone
flutter_map makes extensive use of custom/raw gesture handling, outside of
GestureDetector
. Much of the code that does this was written in the first few releases, and has not been significantly changed since. However, new gestures have been added in on-top, with little thought to refactor and improve existing gestures (likely because this would/will take such a long time).This has led to a single file of over 1000 lines of code managing pretty much all the gestures within FM. Obviously, this is not maintainable, and the perfect hiding place for bugs.
To make it worse, gesture handling at this low-level often differs slightly between platforms, which means that manual testing succeeds on one platform, but a bug occurs on another. There is a particular issue with iOS/MacOS in this regard.
To resolve the issues tracked here, a rewrite of the gesture handling system needs to be undertaken. Note that that bugs that occur as a result of gestures, but not directly as a mishandling of gestures (eg. #1682) are not tracked here.
Issues
InteractiveFlag.drag
enabled #1395GestureDetector
s stop responding after zooming #1572InteractionFlag.enableScrollWheel
has no effect #1723The text was updated successfully, but these errors were encountered: