Skip to content
This repository was archived by the owner on Oct 13, 2025. It is now read-only.

Conversation

@MAUstaoglu
Copy link

Description

scrollTo does not work on horizontal lists as accurately and efficiently as it does vertical lists. This problem also occurs in horizontal lists because the cacheExtent value is set based on the maximum height. To fix this situation, I fixed the cacheExtent value to be created with maxWidth in horizontal lists.

Related Issues

TODO

Checklist

Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

  • I signed the CLA.
  • All tests from running flutter test pass.
  • flutter analyze does not report any problems on my PR.
  • I am willing to follow-up on review comments in a timely manner.

tarobins added a commit to tarobins/flutter.widgets that referenced this pull request Apr 26, 2023
tarobins added a commit that referenced this pull request Apr 26, 2023
…#463)

* [scrollable_positioned_list] Fix default cache extents for horizontal lists.

Closes #439 #453

* Remove unneeded import

* Remove unneeded unwrap
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.

1 participant