Add scroll up#112
Conversation
|
Thank you for submitting a pull request. Please ensure your changes comply with the project's contribution guidelines and that all workflow checks pass successfully. A maintainer will review your submission shortly. |
jagdish-15
left a comment
There was a problem hiding this comment.
I had originally intended this feature to remain primarily mobile-focused, as I had mentioned in the issue as well, since pagination already keeps the desktop page length relatively manageable.
Right now the scroll-to-top button is also visible on larger desktop layouts, which is not really needed.
Could you please update the implementation so the button is limited to smaller/mobile screen sizes?
|
Hello @jagdish-15 , |
Description
Added a Scroll-to-Top button on the leaderboard page to improve navigation and user experience. Users can now quickly return to the top of the page after scrolling through the leaderboard.
Linked Issue
Fixes #89
Changes Made
-Added a Scroll-to-Top button to the leaderboard page.
-Implemented smooth scrolling behavior when the button is clicked.
Configured the button to appear only after the user scrolls down a certain distance.
-Styled the button to match the existing UI design.
Type of Change
Testing
Checklist
Screenshots / Screen Recording