vuejs/vuepress

Back to top when changing page.

Open

#2156 opened on Jan 27, 2020

View on GitHub
 (12 comments) (6 reactions) (0 assignees)JavaScript (22,300 stars) (4,782 forks)batch import
contribution welcomeeffort: lowgood first issuepriority: lowstatus: core team reviewtype: bug

Description

  • 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).

Contributor guide