apache / apache/echarts

[Feature] Add "Scroll to Top" button to website pages

Open
#21,516 3 comments 0 reactions 0 assignees View on GitHub
en website
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### What problem does this feature solve?

Yes. When navigating through long pages on the ECharts website (such as the Homepage, lengthy Documentation sections, or the Examples gallery), it is cumbersome to manually scroll back to the top of the page. This negatively impacts the user experience, especially on mobile devices or when browsing extensive API references.Many modern documentation sites (e.g., those built with Docusaurus or VitePress) include this feature by default. Adding it to the ECharts site would align it with modern web standards and improve navigation efficiency.

### What does the proposed API look like?

Add a global ScrollToTop component

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.