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

OnDemandList: rowHeight is calculated incorrect #552

Closed
anastasiia-zolochevska opened this issue Apr 22, 2013 · 0 comments
Closed

OnDemandList: rowHeight is calculated incorrect #552

anastasiia-zolochevska opened this issue Apr 22, 2013 · 0 comments

Comments

@anastasiia-zolochevska
Copy link

Method _calcRowHeight doesn't calculate the height of the very first row because sibling.offsetTop equals to 0 and rowElement.offsetTop equals to 0.

When average rowHeight is calculated it divides sum of row heights by row number self.rowHeight = height / trCount. As the first row height is 0, but this row is counted in trCount, it leads to the wrong result of rowHeight.

@ghost ghost closed this as completed in 58fe9ba Sep 13, 2013
This issue was closed.
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

No branches or pull requests

1 participant