mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Previously the framework could only tell the engine to forward a touch sequence to an embeded UIView between the time touches has started and the time touches ended. This couldn't support gesture arena setups where the gesture is recognized after the touch sequence is complete (e.g a tap competing with a scroll). This change makes it so that a touch gesture is only finally rejected by a platform view when the framework invokes the `rejectGesture` method. This allows the framework to resolve a gesture conflict after the touch sequence was ended.