Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix first cell not showing sometimes #110

Merged
merged 1 commit into from
Aug 23, 2022
Merged

Conversation

Jugen
Copy link
Contributor

@Jugen Jugen commented Aug 23, 2022

When not wrapped in a VirtualizedScrollPane the first cell would not be placed and rendered, but only the second cell and up.

This bug was introduced by PR #80 where Navigation.visit(StartOffStart) was changed to call a new method instead of placeStartAtMayCrop. The latter however was invoking getAverageLengthEstimate, which appears to be a necessary call in some layout scenarios. So this PR reintroduces a call to it and provides a test case.

@Jugen Jugen merged commit 3b45c92 into master Aug 23, 2022
@Jugen Jugen deleted the first-cell-not-showing branch August 24, 2022 14:28
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant