docsify icon indicating copy to clipboard operation
docsify copied to clipboard

Navigation / links not loading correct page content after a while

Open markbattistella opened this issue 4 years ago • 2 comments

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

markbattistella avatar Jan 20 '22 23:01 markbattistella

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

trusktr avatar Jan 22 '22 04:01 trusktr

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.

markbattistella avatar Jan 22 '22 09:01 markbattistella