Skip to content

Conversation

@abarth
Copy link
Contributor

@abarth abarth commented Feb 9, 2016

This patch teaches block how to anchor its scrolling to the end rather than the
start.

Fixes #136

@abarth
Copy link
Contributor Author

abarth commented Feb 9, 2016

@Hixie

Copy link
Contributor

Choose a reason for hiding this comment

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

assert that at least one of the axes has the same dimension in the content and container

Copy link
Contributor

Choose a reason for hiding this comment

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

and add a comment saying that if we ever change that, ViewportAnchor needs to deal with more than "start" and "end", since there's many places you could try to anchor to (e.g. center bottom, top right, etc)

Copy link
Contributor

Choose a reason for hiding this comment

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

markNeedsSemanticsUpdate();

@Hixie
Copy link
Contributor

Hixie commented Feb 9, 2016

lgtm

This patch teaches block how to anchor its scrolling to the end rather than the
start.

Fixes flutter#136
abarth added a commit that referenced this pull request Feb 9, 2016
@abarth abarth merged commit efd5aea into flutter:master Feb 9, 2016
@abarth abarth deleted the scroll_anchor3 branch February 9, 2016 23:23
@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.

Scrollable Blocks should have gravity.

2 participants