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

Rendering fails when loading multiple charts with different themes at the same time #1548

Open
zhifeiyue opened this issue Sep 24, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@zhifeiyue
Copy link

Describe the bug
Rendering fails when loading multiple charts with different themes at the same time.

To Reproduce
Link to Live Editor:
Steps to reproduce the behavior:

  1. Open more than one tabs with https://mermaid.live/
  2. Create or load sample graph
  3. Toggle theme in one tab, 'default' -> 'dark' or 'dark' -> 'default'
  4. Close browser
  5. Reopen browser, all tabs will be loaded at the same time
  6. All tabs show empty SVG except the tab which changed theme

Expected behavior
All charts should show.

Screenshots
https://www.youtube.com/watch?v=BFtTJ-heE3E

@zhifeiyue zhifeiyue added the bug Something isn't working label Sep 24, 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