-
Notifications
You must be signed in to change notification settings - Fork 36
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
Page not reloading after clicking next on pagination #71
Comments
Hey @itsvvishnu the Get Issues button is disabled for a few seconds when getIssues is called and getIssues is called when the page changes (handlePageChange). It's designed to prevent users from clicking the button too fast and making too many requests. If you have any ideas how to improve it, let me know! (or feel free to open a PR). (might also be isButtonLocked that's causing it) |
I waited for the button to become active again then pressed it, but the page didn't refresh, |
Could you share a video clip/gif? |
Ah I see. So to reproduce:
If anyone wants to take a look at making a PR, let me know and we can assign this to you. We might want to consider the desired behavior - maybe clicking Find Issues on the second page should reset everything first and go back to normal behavior of loading page 1. |
I would like to work on this. Could you please assign it to me? |
When I load new issues by clicking "find issues" then go to next pages and come back and click "find issues" again the data is not fetched at the first click, or the page is not refreshed at the first click. when i click twice, it works properly
The text was updated successfully, but these errors were encountered: