Skip to content

Callouts render correctly on first load, but stop rendering fully after navigating away and back to the same page #2756

Description

@paulhibbitts

Description

Callouts render correctly on first visiting a page, but after navigating away and then back to that same page, they no longer fully render.

Originally shared by Robin (thank you!) on Discord at (https://discord.com/channels/713647066802421792/774847028160626729/1528365091135946944)

Expected behavior

Callouts should render consistently every time the page is displayed, regardless of navigation history.

For example, first visit:
Image

Second visit to same page:
Image

Actual behavior

On first navigating to Custom Navbar https://preview.docsifyjs.org/#/custom-navbar, callouts render as expected. After clicking the below link Configuration (https://preview.docsifyjs.org/#/configuration?id=configuration) and then navigating back to Custom Navbar (https://preview.docsifyjs.org/#/custom-navbar) again, the callouts are no longer fully rendered.

Steps to reproduce

Navigate to https://preview.docsifyjs.org/#/custom-navbar — callouts render as expected.
Click the below link Configuration — callouts render as expected on that page too.
Click Custom Navbar again to return to the original page — callouts are no longer fully rendered.

Environment

Docsify v5, latest RC4 and https://preview.docsifyjs.org/

Additional Information

  • Bug still occurs when all/other plugins are disabled?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugconfirmed as a bug

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions