Skip to content

Comments

Fix: ScrollTopButton visibility logic#967

Open
Eshita-Badhe wants to merge 12 commits intosayeeg-11:mainfrom
Eshita-Badhe:fix/scrolltop-visibility
Open

Fix: ScrollTopButton visibility logic#967
Eshita-Badhe wants to merge 12 commits intosayeeg-11:mainfrom
Eshita-Badhe:fix/scrolltop-visibility

Conversation

@Eshita-Badhe
Copy link
Contributor

Fixes: #914

📋 Description

The Scroll To Top button was visible even when the user was at the top of the page, which caused unnecessary UI clutter and reduced user experience clarity.

This PR updates the visibility logic so that:

  • The button remains hidden when the page loads at the top.
  • The button only appears after the user scrolls past a defined threshold.
  • The button hides again when the user scrolls back up.
  • This ensures a cleaner interface and expected behavior across devices.

📸 Screenshots

image image
  • This PR includes UI/UX changes → Screenshots attached
  • This PR does NOT include UI/UX changes

Note: I have worked on this under SWoC26...!
@sayeeg-11 please review...

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix Back-to-Top Button Visibility on home page

1 participant