Skip to content

updateChildren() needs to walk the list forward - #1400

Merged
abarth merged 1 commit into
flutter:masterfrom
abarth:reorder_update_children
Jan 27, 2016
Merged

abarth merged 1 commit into
flutter:masterfrom
abarth:reorder_update_children

Conversation

@abarth

@abarth abarth commented Jan 27, 2016

Copy link
Copy Markdown
Contributor

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

abarth commented Jan 27, 2016

Copy link
Copy Markdown
Contributor Author

@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
Copy Markdown
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
Copy Markdown
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

Hixie commented Jan 27, 2016

Copy link
Copy Markdown
Contributor

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