Skip to content

Fix first cell not showing sometimes#110

Merged
Jugen merged 1 commit intomasterfrom
first-cell-not-showing
Aug 23, 2022
Merged

Fix first cell not showing sometimes#110
Jugen merged 1 commit intomasterfrom
first-cell-not-showing

Conversation

@Jugen
Copy link
Copy Markdown
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant