forked from guillaumervls/react-infinite-scroll
-
Notifications
You must be signed in to change notification settings - Fork 512
Open
Labels
Description
Adding this issue because it was asked to me directly.
If you're filtering items, and the data needs to be completely changed, the page needs to be reset back to pageStart
.
One solution is adding a method to the component: guillaumervls#29
But really, if you need your own pagination methods, you should handle it in the state of your own component and ignore the pageToLoad
parameter that you're given.
BastianVoigt, desenmeng, GTOsss, KosnIre and dIeGoLi