forked from flutter/engine
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only reject gestures to embedded UIViews when the framework says so. (f…
…lutter#7307) 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.
- Loading branch information
Showing
2 changed files
with
52 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters