UX: No 'Back to top' button on long article pages #63
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Article pages can be 1000+ words with tables, FAQs, and sections. There is no way to quickly return to the top of the page.
Suggested Fix
Add a floating "Back to top" button that:
Fixed in commit
84a8827.src/components/back-to-top.tsx— floating button fixed bottom-right, appears after 300px scroll, smooth scroll to top, accent-colored, aria-label, respects prefers-reduced-motion.<BackToTop />in the root layout (layout.tsx) so it appears on all pages.Closes #63.