Skip to content

Mermaid Diagrams showing icons of full screen , after exporting in pdf #204

Description

@gauravs1024
Image

When we export the doc in pdf by the option as showd in the image we got some icons which available during the preview of mermaid diagrams ,

Image Image

Activity

  1. ThisIs-Developer commented on Jul 5, 2026

    @ThisIs-Developer
    Owner

    @gauravs1024 Thank you for reporting this issue, and thanks to @rajat12826 for submitting a proposed fix and sorry for the delayed response.

    I tested both provided examples and also checked the current behavior, but I was not able to reproduce the issue on my side. The Mermaid controls, such as Fullscreen, Copy, PNG, and SVG, are not appearing in either the PDF preview or the exported PDF for me.

    Could you please share the exact reproduction steps, including the Mermaid code? A short screen recording would be especially helpful.

    @rajat12826, could you also share a quick before-and-after video or the exact way to reproduced it? That will help me verify the issue properly and review the PR accurately.

  2. added
    bugSomething is broken or not working as expected.
    on Jul 5, 2026
  3. added a commit that references this issue on Jul 5, 2026
  4. ThisIs-Developer commented on Jul 5, 2026

    @ThisIs-Developer
    Owner

    Hi @gauravs1024, thank you for reporting this issue.

    The issue has now been resolved by @rajat12826 in PR #208. I could not reproduce it initially because I was testing in Chrome on Windows. After @rajat12826 shared a screen recording, I tested it on macOS Chrome and was able to confirm that the Mermaid toolbar icons appeared in the exported PDF.

    This seems to be related to differences in browser PDF environments.

    Please check the updated version. Let me know if you still see the issue.

  5. ThisIs-Developer commented on Jul 5, 2026

    @ThisIs-Developer
    Owner

    Hi @gauravs1024, are you using macOS? I was able to reproduce this issue only on macOS so far, so I wanted to ask you something.

    I use Windows, so I cannot properly test the app on macOS or Safari. I used BrowserStack for a quick test, but the session ends after around one minute, which makes it difficult to test many features.

    Could you please check a few other features on macOS, especially in Chrome and Safari? No pressure at all. If you notice any issue, please let me know. It would help me review and fix it properly.

    Thank you again for your help.

  6. gauravs1024 commented on Jul 7, 2026

    @gauravs1024
    Author

    Hello, Yes I was using macOS when i was facing the issue, Sorry I forget to mention the complete details i am a little bit hurry, but now when i checked the issue is fixed and Thankyou so much this is a very great for every user and also for me.
    Thankyou so much for resolving the issue.

  7. ThisIs-Developer commented on Jul 7, 2026

    @ThisIs-Developer
    Owner

    Love to hear that, Thank you.

  8. added
    ui/uxUser interface, layout, interaction, usability, or visual improvements.
    on Oct 2, 2026
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

    bugSomething is broken or not working as expected.ui/uxUser interface, layout, interaction, usability, or visual improvements.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions