vuejs/vuepress

Back to top when changing page.

Open

#2,156 创建于 2020年1月27日

在 GitHub 查看
 (12 评论) (6 反应) (0 负责人)JavaScript (22,300 star) (4,782 fork)batch import
contribution welcomeeffort: lowgood first issuepriority: lowstatus: core team reviewtype: bug

描述

  • I confirm that this is an issue rather than a question.

Bug report

Steps to reproduce

  1. go to the official documentation https://vuepress.vuejs.org/guide/
  2. scroll to the bottom of the page
  3. click "Getting Started →" in the footer

What is expected?

I navigate to the top of the "Getting started" page

What is actually happening?

I navigate to the bottom of the "Getting started" page

Other relevant information

I found a bunch of old issues and PR regarding this problem, #1071 #1075 #1107 #1108 and it looks like there where a lot of back-and-forth.

The current behavior is really anoying when using the documentation I am writing, the back to top plugin make a bit more useable but it will be much better to have a standard navigation (when you change page, you start at the top).

贡献者指南