Anujcodecraft/notes-online
## ð Bug: "Next" Button Disabled on PYQs Page After Switching Exam Type
ãªãŒãã³
#22 opened on 2025/07/04
ReactJsbuggood first issuehelp wanted
Repository metrics
- Stars
-  (7 åã®ã¹ã¿ãŒ)
- PR merge metrics
- Â (PR metrics pending)
説æ
ð Description
On the PYQs page:
- When the user selects an exam type like
Mini, the pagination updates correctly. - However, when the user switches back to "All Types", even though there are multiple questions (e.g., total of 8), the "Next" button becomes disabled.
ð Steps to Reproduce
- Visit the main website ð Live Demo and navigate to the PYQs(click Browse Pyqs) page.
- Select any specific exam type (e.g., "Mini").
- Then switch back to "All Types".
- Observe that the "Next" button is now disabled, even though there are enough items for pagination.
â Expected Behavior
- When switching back to "All Types", the "Next" button should remain enabled if total items exceed the current page limit.
- Pagination should work just like it did on first page load.