Skip to content

Custom sidebar repeat rendering #1693

Open
@buuing

Description

@buuing

Bug Report

When I use file embedding, I find that the sidebar on the left is rendered repeatedly

The first time I enter the first page, there is no problem, but when I press F5 to refresh the page at first, I will see the following sidebar

image

Steps to reproduce

When using file embedding, you can see the problem

What is current behaviour

The sidebar is rendered repeatedly

What is the expected behaviour

I want the sidebar to render correctly

Other relevant information

  • Bug does still occur when all/other plugins are disabled?

  • Your OS: Mac m1

  • Node.js version: 12.22.7

  • npm/yarn version: 6.13.4

  • Browser version: Google Chrome 96

  • Docsify version: 4.12.1

  • Docsify plugins: nothing

Please create a reproducible sandbox

It seems that file embedding cannot be used on codesandbox
To this end, I specially prepared a small demo to run and see the problem

docsify-test.zip

Mention the docsify version in which this bug was not present (if any)

docsify@4.10.x

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