New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug report] Markdown lists cause navigation error while using a custom theme. #688
Comments
This issue is marked as |
The issue is an internal error trigger by vue, and I am not sure how it happens. So I will leave this to you. |
I'm seeing this as well |
I hope this has been fixed in 2.0.0-beta.46. Let me know if you still meet similar issues. |
Upgraded from beta.45 to beta.46, and I confirm the issue is still present. If I disable the sidebar, the problem goes away |
Bug report
Description
I have made a very simple custom theme demo according to the guide of document, which has two navbar on its
Layout.vue
component.On the begining, everything goes well, I can navigate from home page to about page just by clicking the link. You can experience this by the online demo I deployed on vercel.
Thing came to happen when I added a list on
README.md
. I clicked the link on navbar and the conent of page disappeared, and a TypeError threw out on the console showsTypeError: Cannot read properties of null (reading 'insertBefore')
. You can see it on this version I deployed.Is it a bug? Or one my misbehavior?
This only happens on build mode.
update: I found this happens with markdown table too. And when I first visit the about page, it will navigate correctly to home page and then I can navigate back to about page without problem.
Steps to reproduce
Expected behavior
Navigate correctly to see about page.
Screenshots
Environment info
vuepress info
:The text was updated successfully, but these errors were encountered: