When using sort & pagination at the same time, we have extra events which triggers fetching several times the same data.
When sorting, the onDataParamsChange is triggered with the current livePaginationCursor (which should be 0 instead) and it's called twice.
Also, this leads to another issue depending on the number of page that can be displayed. In the following screenshot, when sorting on country, it has not requested the next pages (and does not display the vertical scrollbar):
Version: 0.0.10
Starting from the pagination documentation sandbox , here is a sandbox to illustrate the issue: https://codesandbox.io/s/events-for-sorting-and-pagination-ypyee?file=/src/App.tsx
When using sort & pagination at the same time, we have extra events which triggers fetching several times the same data.
When sorting, the onDataParamsChange is triggered with the current livePaginationCursor (which should be 0 instead) and it's called twice.
Also, this leads to another issue depending on the number of page that can be displayed. In the following screenshot, when sorting on country, it has not requested the next pages (and does not display the vertical scrollbar):