Celtrix icon indicating copy to clipboard operation
Celtrix copied to clipboard

[FEATURE] : Add a Scroll-to-Top Button for Improved Navigation

Open NiranjanRSoorej06 opened this issue 4 months ago • 3 comments

Description

Problem

The page is long, and users currently have to manually scroll back to the top after reaching the footer. This creates unnecessary effort and negatively impacts the overall navigation experience.

Expected Behavior

Add a floating Scroll-to-Top button that:

  • Appears after the user scrolls down a certain distance (e.g., 300–500px).
  • Smoothly scrolls the page back to the top when clicked.
  • Stays fixed in the bottom-right corner without obstructing other UI elements.
  • Is keyboard accessible and includes an appropriate aria-label.
  • Matches the application's existing design and theme.

Current Behavior

There is no quick way to return to the top of the page, requiring users to manually scroll through the entire page.

Suggested Solution

  • Add a floating action button using position: fixed.
  • Toggle its visibility based on the user's scroll position.
  • Use smooth scrolling (window.scrollTo({ top: 0, behavior: "smooth" })).
  • Ensure responsive placement on both desktop and mobile devices.

Screenshot

The screenshot below shows the footer section, where the lack of a scroll-to-top button becomes noticeable.

Image

NiranjanRSoorej06 avatar Aug 04 '26 05:08 NiranjanRSoorej06

Hi @maintainers, I'd like to work on this enhancement. The implementation will include a smooth, accessible Scroll-to-Top button that aligns with the existing UI. Please assign this issue to me under GSSoC. Thank you!

Suggested Labels: gssoc:approved level:intermediate type:feature quality:clean

Thank you!!!

NiranjanRSoorej06 avatar Aug 04 '26 06:08 NiranjanRSoorej06

Hi @maintainer, Please consider assigning this issue to me

NiranjanRSoorej06 avatar Sep 23 '26 06:09 NiranjanRSoorej06

Nah, this issue is closed.

JoeCelaster avatar Sep 23 '26 07:09 JoeCelaster