Skip to content

Add a Scrollbar and Back-to-Top Button for Better Navigation #24

Description

@RajD2910

Problem

The website currently does not display a visible scrollbar, making it difficult for users to know their position on the page or whether additional content exists below the fold.

Additionally, there is no Back-to-Top button, which makes navigating back to the top of long pages less convenient.

Expected Behavior

A visible scrollbar should be present to indicate the user's current scroll position.
A Back-to-Top button should appear after the user scrolls down a certain distance (e.g., 300–500px).
Clicking the button should smoothly scroll the page back to the top.

Current Behavior

No visible scrollbar is available.
No Back-to-Top button is provided.

Why This Improvement?

Improves overall user experience and accessibility.
Makes navigation easier on long documentation pages.
Provides visual feedback about page length and current scroll position.
Aligns with common UI patterns used in modern documentation websites.

Possible Implementation

Enable the browser's default scrollbar or implement a custom styled scrollbar.
Add a floating Back-to-Top button in the bottom-right corner.
Use smooth scrolling (scroll-behavior: smooth) for a better user experience.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions