Skip to content

Page sizes that are multiple of 50 don't render new data BUT pagination works #5708

@squidjam

Description

@squidjam

TanStack Table version

8.20.1

Framework/Library version

React 18.2.0

Describe the bug and the steps to reproduce it

I took your example for uncontrolled pagination and added my data and columns to it.

Everything will work correctly if you use just about any page size, except for 50 (and it's multiples, i.e.: 100, 200).

Load up the provided reproducible example and change page sizes, then change page numbers.

When you use page size of 50, everything else works, EXCEPT it will not render the new page's data.
It will keep repeating the old one.

Your Minimal, Reproducible Example - (Sandbox Highly Recommended)

https://codesandbox.io/p/devbox/dazzling-volhard-lnz4l6

Screenshots or Videos (Optional)

No response

Do you intend to try to help solve this bug with your own PR?

No, because I do not know how

Terms & Code of Conduct

  • I agree to follow this project's Code of Conduct
  • I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions