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

fix: Flickering Between Pages on Button Click #580

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Rupak182
Copy link

@Rupak182 Rupak182 commented Nov 7, 2024

This PR fixes #572

  • Added Pagination constraint to onClick
  • Commented aria-disabled attributes.

Description:

It seems like aria-disabled is not working . It is causing the current page constant to move out of bound .But the logic mentioned in paginator component is bringing it back to page 1 after a certain delay .After this the updated value of currentPage constant is again bringing it back to the previous state which is causing an infinite loop.

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.

🐛 Bug Report: Pagination URL Flickering Between Pages on Button Click
1 participant