Skip to content

fix(pagination): make pagesUnknown actually navigable#3006

Open
metonym wants to merge 2 commits into
masterfrom
metonym/pagination-pagesunknown-forward
Open

fix(pagination): make pagesUnknown actually navigable#3006
metonym wants to merge 2 commits into
masterfrom
metonym/pagination-pagesunknown-forward

Conversation

@metonym
Copy link
Copy Markdown
Collaborator

@metonym metonym commented May 15, 2026

Currently, the pagesUnknown features is not usable in a realistic setting, as the page navigation buttons are disabled.

For example, the forward button was stuck disabled at page 1 and any advance was immediately clamped back by page > totalPages. The consumer should be allowed to control these buttons.

Both now respect pagesUnknown. This adds forwardButtonDisabled/backButtonDisabled as overrides so consumers can signal end-of-data in cursor-based flows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant