Skip to content

Need to improve the rendering mechanism of some components #11296

Closed as duplicate

Description

@SuperManito

Have you read the Contributing Guidelines on issues?

Description

Image

When first enter the page, the CodeBlock component will not initialize the dark and light themes correctly as shown in the picture.

Image

The Navbar logo icon will reload when switching pages

Has this been requested on Canny?

No response

Motivation

This large visual difference will affect the user's browsing experience. I have also developed some front-end projects. I cannot tolerate these details. Of course, its importance may be minimal for each developer.

API design

No response

Have you tried building it?

No response

Self-service

  • I'd be willing to contribute this feature to Docusaurus myself.

Activity

  1. added
    feature
    status: needs triage
    on Jun 28, 2025
  2. slorber commented on Jun 29, 2025

    @slorber
    Collaborator

    Logo: duplicate of
    #2891

    We are aware of the code block problem but it's a current limitation in our dependency, tracked here: FormidableLabs/prism-react-renderer#149

  3. removed
    status: needs triage
    on Jun 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions