Skip to content

When a list is scrolling, children can't be tapped - #5222

Merged
Hixie merged 1 commit into
flutter:masterfrom
Hixie:fling-stop
Aug 5, 2016
Merged

Hixie merged 1 commit into
flutter:masterfrom
Hixie:fling-stop

Conversation

@Hixie

@Hixie Hixie commented Aug 4, 2016

Copy link
Copy Markdown
Contributor

Fixes #5023

@eseidelGoogle

Copy link
Copy Markdown
Contributor

Thank you very much for fixing!

@HansMuller

Copy link
Copy Markdown
Contributor

LGTM

@abarth

abarth commented Aug 4, 2016

Copy link
Copy Markdown
Contributor

LGTM BUT NOT TO TRAVIS

@Hixie
Hixie force-pushed the fling-stop branch 2 times, most recently from cb4f2b6 to 2fa8d33 Compare August 4, 2016 23:30
@Hixie

Hixie commented Aug 5, 2016

Copy link
Copy Markdown
Contributor Author

The travis failure was because the gallery smoketest wasn't waiting for the scroll to settle before tapping the list, but that's now an ignored tap.

@Hixie

Hixie commented Aug 5, 2016

Copy link
Copy Markdown
Contributor Author

@HansMuller you may be interested in the flutter gallery test change in this PR.

I'm going to check this in some time after Travis goes green unless I hear otherwise.

.pump(const Duration(seconds: 1)); // Wait until the demo has opened.
await tester.pump(const Duration(seconds: 1)); // Wait until the demo has opened.

expect(find.text('Flutter Gallery'), findsNothing);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I feel like we've changed the case of Flutter gallery and Flutter Gallery at times, hopefully this is finding or not finding the right thing. :)

@Hixie
Hixie merged commit ea7d5bf into flutter:master Aug 5, 2016
@Hixie
Hixie deleted the fling-stop branch August 5, 2016 17:40
@Hixie

Hixie commented Aug 5, 2016

Copy link
Copy Markdown
Contributor Author

This blocked touches on lists for much longer than expected. I'm not sure if we're missing a setState when the animation ends or if we're just letting the animation go for much longer than it should, but either way, I'm reverting this for now.

Hixie added a commit to Hixie/flutter that referenced this pull request Aug 11, 2016
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Aug 15, 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.

Stopping flings should not count as a touch

4 participants