Skip to content

[Fix] Improve Scroll buttons UX#970

Merged
sanjay-kv merged 5 commits intorecodehive:mainfrom
rahulrr-coder:fix/scroll-buttons
Oct 21, 2025
Merged

[Fix] Improve Scroll buttons UX#970
sanjay-kv merged 5 commits intorecodehive:mainfrom
rahulrr-coder:fix/scroll-buttons

Conversation

@rahulrr-coder
Copy link
Copy Markdown
Contributor

Description

This pull request resolves the issue of redundant and visually disruptive scroll arrow buttons on the FAQ page. The scroll-to-bottom button has been removed, and the scroll-to-top button has been redesigned to improve user experience and better align with the website's aesthetic.

Fixes #962

Type of Change

  • New feature (e.g., new page, component, or functionality)
  • Bug fix (non-breaking change that fixes an issue)
  • UI/UX improvement (design, layout, or styling updates)
  • Performance optimization (e.g., code splitting, caching)
  • Documentation update (README, contribution guidelines, etc.)
  • Other (please specify):

Changes Made

  • Removed Scroll-to-Bottom Button: The top-to-bottom.tsx component has been deleted, and its usage has been removed from the index.tsx page, eliminating the redundant
    scroll-to-bottom functionality.
  • Improved Scroll-to-Top Button:
    - The button is now only visible after the user has scrolled down 300 pixels.
    - The button's styling has been updated to be less intrusive and more consistent with the website's design system. It is now a circular button with a subtle shadow and hover effect, positioned in the bottom-right corner.
    - The button's color now uses the theme's primary color, ensuring it adapts to both light and dark modes.

Dependencies

There are no new dependencies or tools required for this change.

Checklist

  • My code follows the style guidelines of this project.
  • I have tested my changes across major browsers and devices
  • My changes do not generate new console warnings or errors .
  • I ran npm run build and attached screenshot(s) in this PR.
  • This is already assigned Issue to me, not an unassigned issue.

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Oct 20, 2025

@rahulrr-coder is attempting to deploy a commit to the recode Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions
Copy link
Copy Markdown

Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. The estimated time for response is 5–8 hrs.

In the meantime, please provide all necessary screenshots and make sure you run - npm build run , command and provide a screenshot, a video recording, or an image of the update you made below, which helps speed up the review and assignment. If you have questions, reach out to LinkedIn. Your contributions are highly appreciated!😊

Note: I maintain the repo issue every day twice at 8:00 AM IST and 9:00 PM IST. If your PR goes stale for more than one day, you can tag and comment on this same issue by tagging @sanjay-kv.

We are here to help you on this journey of open source. Consistent 20 contributions are eligible for sponsorship 💰

🎁 check our list of amazing people we sponsored so far: GitHub Sponsorship. ✨

📚Your perks for contribution to this community 👇🏻

  1. Get free Consultation use code recode50 to get free: Mentorship for free.

  2. Get the Ebook for free use code recode at checkout: Data Science cheatsheet for Beginners.

  3. Check out this weekly Newsletter: Sanjay's Newsletter.

If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊

@github-actions github-actions Bot added hacktoberfest-accepted recode this is label for leaderboard labels Oct 20, 2025
@github-actions
Copy link
Copy Markdown

Synced data from Linked Issues

Labels:

  • level 1
  • recode
  • hacktoberfest-accepted

Assignees:

  • rahulrr-coder

Milestones:

  • recode:launch 3.0

@rahulrr-coder rahulrr-coder changed the title Fix/scroll buttons [Fix] Improve Scroll buttons UX Oct 20, 2025
@rahulrr-coder
Copy link
Copy Markdown
Contributor Author

image

@sheikhlimon
Copy link
Copy Markdown
Contributor

@rahulrr-coder nice work

@sheikhlimon
Copy link
Copy Markdown
Contributor

sheikhlimon commented Oct 20, 2025

@rahulrr-coder but can you try and make it not fixed but it shows up right from where it's showing as you scroll down to bottom the button should follow.. see if you can implement that

@rahulrr-coder
Copy link
Copy Markdown
Contributor Author

@sheikhlimon Sure, I'll try to implement that.

@rahulrr-coder
Copy link
Copy Markdown
Contributor Author

rahulrr-coder commented Oct 20, 2025

@sheikhlimon I made the changes, is it alright.

Screencast.from.2025-10-20.13-53-11.webm

@sheikhlimon
Copy link
Copy Markdown
Contributor

@rahulrr-coder LGTM ..need confirmation from @sanjay-kv though

@iitzIrFan iitzIrFan self-requested a review October 20, 2025 17:09
@iitzIrFan iitzIrFan added the under review Review under the maintainers or the admins label Oct 20, 2025
@iitzIrFan iitzIrFan moved this to In Progress in @recode-web Oct 20, 2025
Copy link
Copy Markdown
Member

@iitzIrFan iitzIrFan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! @rahulrr-coder
@sanjay-kv Ready for merge.

@iitzIrFan iitzIrFan added the Ready for Merge PR has passed reviews and checks, and is ready to be merged into the main branch. label Oct 20, 2025
@sanjay-kv sanjay-kv added this to the recode:launch 3.0 milestone Oct 21, 2025
@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Oct 21, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
recode-website Ready Ready Preview Comment Oct 21, 2025 11:48am

@sanjay-kv
Copy link
Copy Markdown
Member

@rahulrr-coder perfect.

@sanjay-kv sanjay-kv merged commit 86aab0d into recodehive:main Oct 21, 2025
5 of 6 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in @recode-web Oct 21, 2025
@sanjay-kv sanjay-kv added the level 3 50 points label Oct 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hacktoberfest-accepted level 3 50 points Ready for Merge PR has passed reviews and checks, and is ready to be merged into the main branch. recode this is label for leaderboard under review Review under the maintainers or the admins

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

🐞[Bug]: Fixed scroll arrow buttons on FAQ page causing poor UX and visual clutter

4 participants