diff --git a/src/VirtualList/index.js b/src/VirtualList/index.js index dbdbaf0..b09e470 100644 --- a/src/VirtualList/index.js +++ b/src/VirtualList/index.js @@ -143,6 +143,9 @@ export default class VirtualizedList { offset, overscanCount, }); + + if (start == null || stop == null) return + const fragment = document.createDocumentFragment(); for (let index = start; index <= stop; index++) {