Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved support for saving and restoring the scroll offset, etc V2 #10590

Merged
merged 2 commits into from
Jun 9, 2017

Conversation

HansMuller
Copy link
Contributor

This is a reprise of #10517

The complex_layout benchmark was changed a little because PageStorage collisions in the version that was reverted were triggering ballistic scrolls that diminished benchmark performance.

There aren't any other substantive changes vis the original PR.

@HansMuller
Copy link
Contributor Author

@Hixie

@@ -611,6 +611,7 @@ class GalleryDrawer extends StatelessWidget {
final ScrollMode currentMode = ComplexLayoutApp.of(context).scrollMode;
return new Drawer(
child: new ListView(
key: const PageStorageKey<String>('gallery-drawer'),
Copy link
Contributor

Choose a reason for hiding this comment

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

why gallery?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The class is called GalleryDrawer and I'm tired.

@Hixie
Copy link
Contributor

Hixie commented Jun 9, 2017

LGTM

@HansMuller HansMuller merged commit 0e4dda7 into flutter:master Jun 9, 2017
@HansMuller HansMuller deleted the page_storage_ids_v2 branch June 9, 2017 00:20
@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