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

CellsPresenter and use the RowsPresenter viewport instead of estimating#360

Open
danwalmsley wants to merge 2 commits intomasterfrom
fixes/cellspresenter-can-get-the-rows-viewport-instead-of-estimating
Open

CellsPresenter and use the RowsPresenter viewport instead of estimating#360
danwalmsley wants to merge 2 commits intomasterfrom
fixes/cellspresenter-can-get-the-rows-viewport-instead-of-estimating

Conversation

@danwalmsley
Copy link

In some circumstances the CellsPresenter has to estimate the viewport… the problem is that it doesnt estimate the horizontal scroll offset, causing the all cells and columns to be realized.

In this scenario its actually more efficient and easier to get the viewport from the parent RowsPresenter.

Added a unit test to setup the scenario and prove the fix.

Dan Walmsley added 2 commits May 8, 2025 17:09
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.

2 participants