DevPath icon indicating copy to clipboard operation
DevPath copied to clipboard

Feature:Add a floating “Back to Top” arrow button

Open Mulesneha opened this issue 6 months ago • 11 comments

💡 Summary

Add a floating “Back to Top” arrow button that smoothly scrolls the page to the top when clicked.

🔍 Problem Statement

Users need to manually scroll back to the top after browsing multiple project cards. This becomes inconvenient on long pages like the “100 Days • 100 Web Projects” section.

🧩 Proposed Solution

Implement a floating back-to-top arrow button positioned at the bottom-right corner of the screen.

Features: Smooth scrolling animation Visible only after scrolling down Responsive design Modern hover effect

Example Implementation:

#backToTop{ position: fixed; bottom: 20px; right: 20px; width: 50px; height: 50px; border-radius: 50%; border: none; cursor: pointer; font-size: 20px; display: none; } const btn = document.getElementById("backToTop");

window.addEventListener("scroll", () => { if(window.scrollY > 300){ btn.style.display = "block"; } else { btn.style.display = "none"; } });

btn.addEventListener("click", () => { window.scrollTo({ top: 0, behavior: "smooth" }); }); 🧠 Alternatives Considered

  • Using browser default scroll behavior
  • Sticky navigation bar
  • Keyboard shortcut navigation

However, a floating arrow button provides a more intuitive and user-friendly experience.

📸 Additional Context

Image

The feature will improve navigation usability, especially for users browsing many project cards on desktop and mobile devices.

Mulesneha avatar May 27 '26 18:05 Mulesneha

Thank you for opening your first issue in DevPath.

Please make sure to:

  • Read CONTRIBUTING.md
  • Wait for assignment before starting work
  • Follow repository guidelines carefully

Happy contributing.

github-actions[bot] avatar May 27 '26 18:05 github-actions[bot]

/assign @komalharshita i want to contribute in this feature assign me under gssoc26

Mulesneha avatar May 27 '26 18:05 Mulesneha

Hi! I would love to work on this issue. Given that DevPath-About helps users browse through lists of coding projects, I agree that a "Back to Top" button is essential for improving navigation after scrolling through multiple project cards.

I plan to implement this by:

  • Integrating seamlessly: Ensuring the button’s styling matches the UI of the project cards and the existing theme.
  • Ensuring Accessibility: Adding the necessary aria-label and ensuring the button is keyboard-accessible, which is crucial for a project-focused platform.
  • Optimizing UX: Implementing the smooth scroll and visibility toggle to ensure it doesn't distract from the project content until it is actually needed.

I have a clear plan to get this integrated into the codebase effectively. Could you please assign this to me under gssoc-2026? I am ready to start immediately!

architasamal avatar May 27 '26 19:05 architasamal

/claim

CoderAnshuman avatar May 28 '26 06:05 CoderAnshuman

hi @komalharshita , i want to contribute in this feature assign me under gssoc26

Sauravsingh841 avatar May 28 '26 18:05 Sauravsingh841

Hi 👋

I would like to work on this issue under GSSoC'26.

I have previously contributed to open-source projects and have 2 PRs successfully merged. I have gone through the issue requirements and would be happy to work on the implementation while following the project's guidelines and maintaining code quality.

Please assign this issue to me if it is available.

Thank you!

sakshiwankhade026-coder avatar May 30 '26 16:05 sakshiwankhade026-coder

Hi, I would like to work on this issue.

I plan to implement a floating "Back to Top" button with smooth scrolling functionality and responsive styling for better user navigation.

Could you please assign this issue to me under GSSoC 2026?

khrisha29 avatar Jun 03 '26 15:06 khrisha29

Hi, I'd like to work on this issue under GSSoC. Please assign it to me. /assign

asmitagogate avatar Jun 16 '26 09:06 asmitagogate

Hi @komalharshita ,

I would like to work on this issue under GSSoC 2026.

I have reviewed the feature request and understand the expected behavior. If assigned, I will implement a responsive floating "Back to Top" button with smooth scrolling, ensure it appears only after the user scrolls down, maintain accessibility, and keep the implementation consistent with the existing UI and project guidelines.

I can start working on it immediately and will submit a clean, well-tested PR.

Kindly assign this issue to me.

Thank you!

bhaviniawasthi1 avatar Jun 26 '26 15:06 bhaviniawasthi1

Hi,I would like to work on this issue under GSSoC 2026. Could you please assign this issue to me? Thank you!

Akshitha2912v avatar Jun 26 '26 17:06 Akshitha2912v

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions!

github-actions[bot] avatar Nov 28 '26 08:11 github-actions[bot]