Skip to content

feat(documentation): add scroll-to-top button#7393

Open
jakubguzikowski wants to merge 1 commit intorefinedev:mainfrom
jakubguzikowski:feat/scroll-to-top
Open

feat(documentation): add scroll-to-top button#7393
jakubguzikowski wants to merge 1 commit intorefinedev:mainfrom
jakubguzikowski:feat/scroll-to-top

Conversation

@jakubguzikowski
Copy link
Copy Markdown

Description

  • Adds a floating scroll-to-top button in documentation pages that becomes visible after scrolling 300px and allows smooth navigation back to the top.

Current behavior

  • Long documentation pages lack a quick way to return to the top, requiring manual scrolling, which is inconvenient especially on mobile devices.

New behavior

  • Button appears after scrolling 300px
  • Works across all pages
  • Uses the existing color theme implementation

fixes (#7390)

Notes for reviewers

This is my first PR.

- Placed alongside other UI components (refine-theme).
- Appears after scrolling 300px.
- Working for all pages.
- Using existing tailwind theme variants

Closes refinedev#7390
@jakubguzikowski jakubguzikowski requested a review from a team as a code owner April 12, 2026 23:17
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 12, 2026

⚠️ No Changeset found

Latest commit: 328608e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

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.

1 participant