BYAMN-Learning icon indicating copy to clipboard operation
BYAMN-Learning copied to clipboard

Add “Scroll to Top” Button (Bottom-Right Corner)

Open stutitiwari23 opened this issue 10 months ago • 3 comments

Is your feature request related to a problem or challenge?

Currently, the website does not provide a quick way for users to navigate back to the top after scrolling down. This can negatively impact usability, especially on pages with long content.

We should add a “Scroll to Top” (Top-Down) button fixed at the bottom-right corner of the screen that allows users to smoothly scroll back to the top of the page.

Describe the solution you'd like

-A floating button appears at the bottom-right corner after the user scrolls down a certain distance (e.g., 200–300px). -Clicking the button smoothly scrolls the page back to the top. -Button hides automatically when the user is already at the top.

Describe alternatives you've considered

-Use position: fixed -Add scroll listener to toggle visibility -Implement smooth scrolling (scrollTo({ top: 0, behavior: "smooth" })) -Ensure accessibility (ARIA label)

Additional context

@DYHARDx Please assign me this issue.

stutitiwari23 avatar Jan 18 '26 06:01 stutitiwari23

Thank you for raising this issue!

We'll review it as soon as possible. We truly appreciate your contributions! ✨

Meanwhile make sure you've visited the README.md, CONTRIBUTING.md, and CODE_OF_CONDUCT.md before creating a PR for this. Also, please do NOT create a PR until this issue has been assigned to you. 😊

github-actions[bot] avatar Jan 18 '26 06:01 github-actions[bot]

@DYHARDx if no one is working on this issue, i would to work on this issue.

Chirag1724 avatar Jan 27 '26 10:01 Chirag1724

@Chirag1724 yes you can if any issue solve , does not matter whose arise issue get point those person who send first pr

DYHARDx avatar Jan 27 '26 10:01 DYHARDx