Skip to content

Pagination shows too many pages relative to siblingCount #1890

Answered by segunadebayo
Jonas-C asked this question in Q&A
Discussion options

You must be logged in to vote

This is by design. Sibling count is taken into account when we get to the “ellipsis” mode and needs to render at least one item to the left or right.

For UX and SEO reasons, it’s recommended to render the first, last, previous button, and next. Adding to that the sibling count, gets to around 5-6 items shown per time.

This prop doesn’t strictly mean “always show X items”, what you’re looking might need to be handled in a different way.

Sibling and Boundaries are two properties that a pagination could have to absolutely control the number of visible items. I don’t think we implement boundaries at the monent.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Jonas-C
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1889 on September 25, 2024 08:11.