Skip to content

fix: Flickering Between Pages on Button Click#580

Open
Rupak182 wants to merge 2 commits intocode100x:mainfrom
Rupak182:fixed-flickering2
Open

fix: Flickering Between Pages on Button Click#580
Rupak182 wants to merge 2 commits intocode100x:mainfrom
Rupak182:fixed-flickering2

Conversation

@Rupak182
Copy link
Copy Markdown

@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