Skip to content
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

Navigation / links not loading correct page content after a while #1729

Open
markbattistella opened this issue Jan 20, 2022 · 2 comments
Open
Labels
bug confirmed as a bug

Comments

@markbattistella
Copy link
Contributor

Bug Report

Steps to reproduce

  1. Create a 3 page docsify site - README, page1, page2
  2. Add in the navigation bar to the site
  3. Add links to the other two pages from the current page (README: links to page1, page2 // page1: links to README, page2 // page2: links to page1, README)
  4. Cycle through the pages and see the url change but the contents not

What is current behaviour

The pages begin to cycle through the content but after a while stops rendering the contents of the correct page.

What is the expected behaviour

To show the correct contents of the markdown page.

Other relevant information

  • Your OS: macOS 12.1
  • Node.js version: v14.16.0
  • npm/yarn version: 7.24.1
  • Browser version: Safari 15.2
  • Docsify version: cli version 4.4.3
  • Docsify plugins: custom

Please create a reproducible sandbox

Edit loving-dust-03e80

Other discussion

https://discord.com/channels/713647066802421792/719155521109884978/933314453745848320

https://github.com/markbattistella/docsify-autoHeaders-docs/archive/refs/heads/mb/sidebar.zip
https://user-images.githubusercontent.com/17962160/150440110-0f8073a8-e889-4f04-bb68-e4dc66a8705c.mov

@trusktr
Copy link
Member

trusktr commented Jan 22, 2022

@markbattistella thanks for reporting this!

(Side note, if you paste an mp4 URL rather than mov URL, GitHub will embed a video player here in the post.)

@markbattistella
Copy link
Contributor Author

Noted for next time!

I'm certain it's not a bug in my plugin, but could be causing some of the issue.

But have seen it happen in vanilla sites too.

@trusktr trusktr added the bug confirmed as a bug label Feb 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug confirmed as a bug
Projects
None yet
Development

No branches or pull requests

2 participants