fix: 🐛 Initialize hyperlist with width/height of container
This commit is contained in:
parent
d14a16c9a0
commit
bdbdc90578
@ -23,7 +23,11 @@ export default class BodyRenderer {
|
||||
return null;
|
||||
}).filter(index => index !== null);
|
||||
|
||||
const computedStyle = getComputedStyle(this.bodyScrollable);
|
||||
|
||||
let config = {
|
||||
width: computedStyle.width,
|
||||
height: computedStyle.height,
|
||||
itemHeight: this.options.cellHeight,
|
||||
total: rows.length,
|
||||
generate: (index) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user