manualPagination with pageCount set to -1 does not work
See original GitHub issueDescribe the bug (required)
When using manualPagination: true
along with pageCount: -1
, pagination does not work.
Provide an example via Codesandbox! (required) Reproducible in example https://codesandbox.io/s/github/tannerlinsley/react-table/tree/master/examples/pagination-controlled
Steps To Reproduce (required) Steps to reproduce the behavior:
- In the example, change
pageCount
to-1
- Try clicking on next/prev buttons
Expected behavior (Recommended) Pagination should work according to this line of code
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
manualPagination with pageCount set to -1 does not work
Describe the bug (required) When using manualPagination: true along with pageCount: -1, pagination does not work.
Read more >Pagination | TanStack Table Docs
Enables manual pagination. If this option is set to true , the table will not automatically paginate rows using getPaginationRowModel() and instead will ......
Read more >react-table pagination properties doesn't exist on type ...
The main problem is that TS types are incorrect! If you check index.d.ts file in @types/react-table you'll see, for example, setPageSize ...
Read more >How to Build a Custom Pagination Component in React
Pagination works well when you know the size of the data in advance, and you don't make frequent additions or deletions to the...
Read more >react-table - npm
React Table as a library honestly has no business being in charge of your UI. ... If set to a function , it...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Sure. I’ll try opening one in sometime.
Looks good!