Skip to content

Conversation

@HansMuller
Copy link
Contributor

If the heights of items at the beginning of a vertical ListView increase while the items are scrolled out of view, then correct the scroll offset when they reappear.

Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe add a comment about whether we should do this work more incrementally.

Copy link
Contributor

Choose a reason for hiding this comment

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

You compute this value twice (once in the test on line 113 and again here. I'd pull the value out into a local and avoid computing it twice.

@abarth
Copy link
Contributor

abarth commented Apr 26, 2017

LGTM

@HansMuller HansMuller force-pushed the listview_zero_insertion branch from 0556e0e to 00d57bd Compare April 26, 2017 17:22
@HansMuller HansMuller merged commit 3c3b003 into flutter:master Apr 26, 2017
@HansMuller HansMuller deleted the listview_zero_insertion branch May 4, 2017 16:27
a-siva added a commit that referenced this pull request Jul 2, 2019
* Manual roll of engine 45b66b7...ffba2f6

git log 45b66b7...ffba2f6 --oneline

ffba2f6 Roll src/third_party/dart b37aa3b036...0abff7b2bb (#9588)
62514cb Roll fuchsia/sdk/core/mac-amd64 from n9fZpXVmsbgKZzS8Q2GXxB453q8AbLpfGztsPsq47pMC to BYCwsJf7r7zfd2THSGinFeIHv552AEVchXdc7VZzP0IC (#9587)
9f27212 Roll src/third_party/skia e4c88bb1f848..1ddee025229a (7 commits) (#9586)
03a31e0 Roll fuchsia/sdk/core/linux-amd64 from F9oY0d56X3aONxwv5vw9Gco--AHmC8SHuDXdhdWCnnMC to d2VK3FYSEKQ35UdZw5FdbOZUI_xgT0-1h8DnGDUHPVAC (#9583)

* Fix analyzer warning.
johnsonmh pushed a commit to johnsonmh/flutter that referenced this pull request Jul 30, 2019
* Manual roll of engine 45b66b7...ffba2f6

git log 45b66b7...ffba2f6 --oneline

ffba2f6 Roll src/third_party/dart b37aa3b036...0abff7b2bb (flutter#9588)
62514cb Roll fuchsia/sdk/core/mac-amd64 from n9fZpXVmsbgKZzS8Q2GXxB453q8AbLpfGztsPsq47pMC to BYCwsJf7r7zfd2THSGinFeIHv552AEVchXdc7VZzP0IC (flutter#9587)
9f27212 Roll src/third_party/skia e4c88bb1f848..1ddee025229a (7 commits) (flutter#9586)
03a31e0 Roll fuchsia/sdk/core/linux-amd64 from F9oY0d56X3aONxwv5vw9Gco--AHmC8SHuDXdhdWCnnMC to d2VK3FYSEKQ35UdZw5FdbOZUI_xgT0-1h8DnGDUHPVAC (flutter#9583)

* Fix analyzer warning.
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 13, 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.

3 participants