Skip to content

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

Open
@markbattistella

Description

@markbattistella

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugconfirmed as a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions