PrepEdge-AI
PrepEdge-AI copied to clipboard
💡 Feature Request: Add "Go to Top" Button
🔍 Description:
The current UI lacks a scroll-to-top button. On long pages like the homepage or dashboard, users must manually scroll up, which is inefficient.
✅ Expected Behavior:
Once the user scrolls past a certain point (e.g., 300px), a floating button should appear at the bottom-right corner. Clicking it scrolls smoothly to the top.
🎯 Why It Matters:
- Enhances navigation
- Improves user experience for mobile and desktop users
- Follows best practices in long-scroll web apps
🛠 Suggested Implementation:
- Use
window.scrollTo({ top: 0, behavior: 'smooth' }) - Add conditionally rendered button based on scrollY in a
useEffect
@CoderUzumaki I would love to work on this issue. Kindly assign it to me so I can start contributing 🚀.
Thank you!
Raghavendra Raju (GSSoC'25 Contributor)
#20 Another duplicate issue. If you want to contribute on it, please check in with already assigned contributor to know their status. Please avoid duplicate issues.