From e9b7f9082032b490003866203dec049ab18cde44 Mon Sep 17 00:00:00 2001 From: Nicholas Narsing Date: Wed, 22 Mar 2023 12:50:28 -0700 Subject: [PATCH] Add back missing non-DOM props to getDomProps Prevents warnings when estimatedItemSize and onItemsRendered are used --- src/index.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index f37c32a..0d96063 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -276,11 +276,13 @@ export default class VirtualList extends React.PureComponent { getDomProps() { const { + estimatedItemSize, scrollToAlignment, scrollOffset, itemCount, itemSize, onScroll, + onItemsRendered, renderItem, overscanCount, scrollDirection,