Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node:::hidden property still renders to png file #1441

Open
Ryder17z opened this issue Apr 16, 2024 · 0 comments
Open

node:::hidden property still renders to png file #1441

Ryder17z opened this issue Apr 16, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Ryder17z
Copy link

Describe the bug
Property :::hidden doesn't hide the element properly when rendering to png, svg not tested, but it may have a similar issue

To Reproduce
Link to Live Editor: https://mermaid.live/
Steps to reproduce the behavior:

Use the :::hidden property, then click save as png

i.e.

flowchart TD
    noneMain:::hidden ~~~
    A[Christmas] -->|Get money| B(Go shopping)
    B --> C{Let me think}
    C -->|One| D[Laptop]
    C -->|Two| E[iPhone]
    C -->|Three| F[fa:fa-car Car]

Expected behavior
It shouldn't be rendered in the png output

Screenshots
vivaldi-screenshot

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser 1: Waterfox G6.0.11
  • Browser 2: Vivaldi 6.6.3271.61

Additional context
The bug sometimes renders differently on chromium-based browsers compared to firefox and it's forks

@Ryder17z Ryder17z added the bug Something isn't working label Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant