vuepress icon indicating copy to clipboard operation
vuepress copied to clipboard

[bug] Incorrect next and previous anchoring

Open devinmarieb opened this issue 1 year ago • 2 comments

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

Bug report

Next and previous links don't anchor to the top of the page every time. They often link to the bottom or middle of the page. Sometimes they do anchor to the top of the page, but cut off the header and anchor to the beginning of the main text. The header is important and should be displayed.

Steps to reproduce

Visit the main VuePress docs site and use the next and previous links. The bug exists here.

What is expected?

The next and previous links anchor to the very top of the next or previous page, including the first page header.

What is actually happening?

The next and previous links are anchoring to random places on the next or previous page - usually toward the bottom.

Other relevant information

devinmarieb avatar Apr 04 '24 12:04 devinmarieb