-
Notifications
You must be signed in to change notification settings - Fork 633
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
PageRangeDisplayed=2 not working when first page is selected #307
Comments
any solution for this |
Merged
FYI I've just published v8.0.0 |
1 task
1 task
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
My setup: total 12 pages
This means that margin pages 1 and 12 (1 per margin) are always displayed, and when I am on page 7, I get neighbour pages 6 and 8 (2 buttons in range, 1 per side) offered - this is correct.


But when I am on page 1, I expect pages 1, 2 and 12 to be offered.
However, I get pages 1, 2, 3 and 12. Why? Page number 3 shal be out out of my range. Neighbours for page 1 are buttons 0 and 2, but as pase 0 does not exist, I shall only get the page on the right (so page number 2).

Basically, this is confusing from UX perspective, because if I am on page number 1, I want to navigate either to the page next to it, or may be to the last one. But not the page number 3.
How to achieve such a behaviour?
The text was updated successfully, but these errors were encountered: