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
Describe the bug
I noticed when limiting the visible pages to 3, that when I go to the last page, 4 pages are visible.
To Reproduce
Steps to reproduce the behavior:
Make a paginator with a bunch of pages and limit to 3 visible pages
Go to the last page
See that 4 page buttons are visible
Looks like the same issue happens with the visible buttons being set to 5 as well (I just noticed when messing with configuring the visible buttons based on browser window size).
Expected behavior
I expected there to be 3 visible page buttons when at the last page, like there is at the first page.
Screenshots
Everything fine when at the start:
Going to the last page shows this:
Going to page 14 looks correct (page 15 acts like the last page):
Desktop (please complete the following information):
Firefox
The text was updated successfully, but these errors were encountered:
@hhyyrylainen Thank you for the report. While investigating, I've updated the example code at commit 3e4b3e5. Can you provide any more detail? Number of items in this list, etc?
Describe the bug
I noticed when limiting the visible pages to 3, that when I go to the last page, 4 pages are visible.
To Reproduce
Steps to reproduce the behavior:
Looks like the same issue happens with the visible buttons being set to 5 as well (I just noticed when messing with configuring the visible buttons based on browser window size).
Expected behavior
I expected there to be 3 visible page buttons when at the last page, like there is at the first page.
Screenshots
Everything fine when at the start:
Going to the last page shows this:
Going to page 14 looks correct (page 15 acts like the last page):
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: