Repository navigation
Mermaid Diagrams showing icons of full screen , after exporting in pdf #204
Description
Activity
@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.
- addedbugSomething is broken or not working as expected.Something is broken or not working as expected.
on Jul 5, 2026 - added a commit that references this issue
on Jul 5, 2026 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.
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.
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.Reacted by Baivab SarkarLove to hear that, Thank you.
- addedui/uxUser interface, layout, interaction, usability, or visual improvements.User interface, layout, interaction, usability, or visual improvements.
on Oct 2, 2026
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 ,