You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When there is only 1 page the page number is not shown, instead only the disabled buttons are shown.
The correct behaviour is to show the active page number (1) and have the buttons disabled.
fixthemesberg#1048
Steps to reproduce
Current behavior
There is no

1
between the arrows, just two buttons (previous and next)Expected behavior
1
is shown between the arrows, similarly to the case when we have 2 and more pages.Context
I would like to show the
Pagination
component with only one page when user has a small amount of data.The problem is in
range
function, where this check is containedI would assume it should be
but not sure whether this breaks the expected behaviour from your side. If you are fine I can create the PR.
Thanks,
Sergii
The text was updated successfully, but these errors were encountered: