-
-
Notifications
You must be signed in to change notification settings - Fork 340
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Using the GridVirtuoso, endReached will never fire again in case the item count at the time endReached was fired and the new item count - after e.g. requesting filtered items - are the same.
Example:
endReachedfired atitem count 20- causes load of more items (=>
item count 40) - filter items which causes
item countto change to20(with more pages available) endReacheddoes not fire again
Reproduction
https://codesandbox.io/p/sandbox/virtuoso-grid-endreached-never-fires-again-24q6js
To Reproduce
Steps to reproduce the behavior:
- Let sandbox render (=> item count: 40 - item count on end reached fired: 20)
- Click on "Enable filter" (=> item count : 20 - item count on end reached fired: 20)
endReacheddoes not fire again
Expected behavior
endReached should get fired again to be able to load more pages.
Screenshots
/
Desktop (please complete the following information):
- OS: Windows 11
- Browser Edge v136.0.3240.64
Additional context
/
letsgojuno
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working