-
Notifications
You must be signed in to change notification settings - Fork 623
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
forcePage is not working #482
Comments
Try - const itemsPerPage = 10; const currentItems = items.slice( itemsPerPage * 10 -10, itemsPerPage * 10) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm updating offset and page by using state and the offset is updating and the list shows the right content. But the active page is not updating properly as I triggered using forcePage option. But it not works. Items are displaying for 1st page as offset updated. But the button active is in some other prev active number due to this
Kindly help me to resolve this. thank in advance!
The text was updated successfully, but these errors were encountered: