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

Number of Pages are showing wrong in case of dynamic pagesize #567

Open
TheLeftyCoder opened this issue Mar 27, 2024 · 0 comments
Open

Number of Pages are showing wrong in case of dynamic pagesize #567

TheLeftyCoder opened this issue Mar 27, 2024 · 0 comments

Comments

@TheLeftyCoder
Copy link

image

here my questionsPerPageArray is [5, 5, 4, 5 , 5 , 5, 3]

what's happening when I'm on 1st page it is showing me 7 page total , but when I goes to 3rd page it is showing me 8 pages total , like 8*4 = 32

so that's why 8 pages, likewise when I go to last page, it is showing me 11 pages total , 3*11 = 33

but I don't want that , I want to make dynamic number of question and number of pages should be consistent

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

No branches or pull requests

1 participant