[BUG] VirtuosoMockContext
not working in conjunction with initialTopMostItemIndex
#1001
Labels
VirtuosoMockContext
not working in conjunction with initialTopMostItemIndex
#1001
Describe the bug
Using
VirtuosoMockContext
to test components using Virtuoso fails as soon asinitialTopMostItemIndex
is set to something other than undefined or 0.Reproduction
yarn test
in a terminal.initialTopMostItemIndex
.Expected behavior
VirtuosoMockContext
works even wheninitialTopMostItemIndex
is set.Additional context
react 18.2.0
react-virtuoso 4.6.2
The text was updated successfully, but these errors were encountered: