Open
Description
- I confirm that this is an issue rather than a question.
Bug report
Steps to reproduce
- Create a test folder
- Put a README.md file in it
- In the README file, put the following text:
# test
::: tip
Content that takes place
:::
# test2
::: tip
Content that takes place
:::
# test3
::: tip
Content that takes place
:::
# test4
::: tip
Content that takes place
:::
# test5
::: tip
Content that takes place
:::
# test6
::: tip
Content that takes place
:::
# test7
::: tip
Content that takes place
:::
# test8
::: tip
Content that takes place
:::
- Launch
vuepress dev
- Enter the URL http://localhost:8080/#test7
What is expected?
The browser should display the page scrolled at that test7 title position.
What is actually happening?
The browser do not take the anchor into account. The scroll of the page stays at the top.
Other relevant information
- Tested on Chrome 83 / Edge
- You can check a live example here: https://ivalua-user-guide.web.app/
Just try the following link, you will see the issue: https://ivalua-user-guide.web.app/#test7 - I checked with Chrome dev tools, it seems that when the URL is called, the page generates at first time the HTML, then the HTML is generated a second time. Strange thing, maybe it explains why the anchor does not work.