Skip to content

Conversation

@abarth
Copy link
Contributor

@abarth abarth commented Jan 27, 2016

This patch changes the framework to walk the child list forwards so that build
functions with global side effects do sensible things. Specifically, if you
have a number of autofocusable children, the first one the list will acquire
the focus because it gets built first now.

Fixes #182

@abarth
Copy link
Contributor Author

abarth commented Jan 27, 2016

@Hixie

@abarth abarth force-pushed the reorder_update_children branch 2 times, most recently from bd6e208 to 3ad1fdb Compare January 27, 2016 00:20
Copy link
Contributor

Choose a reason for hiding this comment

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

dartdocs out of date

@abarth abarth force-pushed the reorder_update_children branch from 3ad1fdb to 2153cce Compare January 27, 2016 00:22
Copy link
Contributor

Choose a reason for hiding this comment

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

insert() needs some tests.

@Hixie
Copy link
Contributor

Hixie commented Jan 27, 2016

lgtm

This patch changes the framework to walk the child list forwards so that build
functions with global side effects do sensible things. Specifically, if you
have a number of autofocusable children, the first one the list will acquire
the focus because it gets built first now.

Fixes flutter#182
@abarth abarth force-pushed the reorder_update_children branch from 2153cce to 05839e5 Compare January 27, 2016 04:02
abarth added a commit that referenced this pull request Jan 27, 2016
updateChildren() needs to walk the list forward
@abarth abarth merged commit 27a73a5 into flutter:master Jan 27, 2016
@abarth abarth deleted the reorder_update_children branch January 27, 2016 04:08
@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.

updateChildren() needs to walk the list forward

2 participants