Skip to content
Snippets Groups Projects
Unverified Commit 70f00b6b authored by Jed Fox's avatar Jed Fox Committed by GitHub
Browse files

Fix calculation of how many table rows to render (#1262)

parent f5617aca
No related branches found
No related tags found
No related merge requests found
......@@ -336,7 +336,7 @@ export default class FixedSizeList extends PureComponent {
getStopIndexForStartIndex = (startIndex, scrollOffset) => {
const offset = startIndex * this.props.itemSize;
const size = this.props.width;
const size = this.props.height;
const numVisibleItems = Math.ceil(
(size + scrollOffset - offset) / this.props.itemSize,
);
......
---
category: Bugfix
authors: [j-f1]
---
Fix tables appearing to have a blank area in tall-but-narrow windows
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment