-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Arrows not shown when using many mermaid graphs #564
Comments
@twitwi What would be the patch in this case (would be happy about a gist/repo link or even PR)? Noticed the bug as well when using multiple graphs and navigating. Possibly related: mermaid-js/mermaid#1318 |
I can confirm, it is definitely the same issue. As for the patch, I have it ready and working but I need to do proper cleanup/refactoring before pushing it.
I might manage to do this week end. |
Thanks to the above-linked issue, there is a simpler solution using some shadow dom. @antfu is it a dependency that we can add or is it better to add such shadow-root functionality in VueUse? (edit) with two more options, the choice could be among
I'm currently leaning towards the last option. |
Well done 👍 Thanks a lot |
Describe the bug
When using several mermaid graphs (on different slides especially) the arrows are absent.
To Reproduce
Steps to reproduce the behavior:
Create a new presentation
Add the following two slides using mermaid
Visit the page navigating to the first then second slide
The arrows are absent on the second slide
The actual problem is coming from having several inline SVG with the same ideas.
Draft patch available.
The text was updated successfully, but these errors were encountered: