Skip to content

Conversation

@abarth
Copy link
Contributor

@abarth abarth commented Apr 26, 2016

Wait until the end of the microtask to tell gesture recognizers that
they've won in the gesture arena. This lets recognizers dispose reject
themselves at arbitrary times without triggering gestures in awkward
call stacks.

Fixes #3183

@abarth
Copy link
Contributor Author

abarth commented Apr 26, 2016

Not really ready for review. Definitely needs test.

@abarth abarth force-pushed the delay_win_by_default branch 2 times, most recently from 3cb4fa4 to 8b93b09 Compare April 26, 2016 21:00
@abarth
Copy link
Contributor Author

abarth commented Apr 26, 2016

@Hixie Ready for review now.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add a comment saying why it might be null (presumably because it's not in the list, maybe because it's been cancelled already?)

@Hixie
Copy link
Contributor

Hixie commented Apr 26, 2016

LGTM

Wait until the end of the microtask to tell gesture recognizers that
they've won in the gesture arena. This lets recognizers dispose reject
themselves at arbitrary times without triggering gestures in awkward
call stacks.

Fixes flutter#3183
@abarth abarth force-pushed the delay_win_by_default branch from 8b93b09 to b39065b Compare April 26, 2016 21:26
@abarth abarth merged commit 51b1550 into flutter:master Apr 26, 2016
@abarth abarth deleted the delay_win_by_default branch April 26, 2016 21:52
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Exception after tapping repeatedly on Components in Material Gallery

2 participants