Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the page number go between 1 and the last page number. #268

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Butanosuke
Copy link

When updateURL is true and you scroll from top page to bottom page or in reverse direction, it shows non-existent page number after the hash mark.
The page number should be existent.

For example, let's assume that total number of pages was 3.
When current page number is 1 and you scroll to previous page then the page number becomes 0.
It should be 3.
When current page number is 3 and you scroll to next page then the page number becomes 4.
It should be 1.

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