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

Bugfix/datagrid incremental loading fix #4892

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ private double EdgedRowsHeightCalculated
// TODO: Update the DetailsHeightEstimate
double totalDetailsHeight = detailsCount * this.RowDetailsHeightEstimate;
double newEdgedRowsHeightCalculated = totalRowsHeight + totalDetailsHeight;
bool loadMoreDataFromIncrementalItemsSource = newEdgedRowsHeightCalculated < _oldEdgedRowsHeightCalculated;
bool loadMoreDataFromIncrementalItemsSource = newEdgedRowsHeightCalculated < _oldEdgedRowsHeightCalculated || (newEdgedRowsHeightCalculated == _oldEdgedRowsHeightCalculated && newEdgedRowsHeightCalculated < CellsHeight);

_oldEdgedRowsHeightCalculated = newEdgedRowsHeightCalculated;

Expand Down