You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
... the problem doesn't occur with the mkdocs or readthedocs themes
... the problem persists when all overrides are removed, i.e. custom_dir, extra_javascript and extra_css
... the documentation does not mention anything about my problem
... there are no open or closed issues that are related to my problem
Description
When clicking the participant test it should open up the actor popup menu. that event is not trigger. I'm using the native support with mermaid with plain mkdocs the rendering was different using html and pre, it was working as expected.
Sharing this simple diagram to showcase the issue
sequenceDiagram
participant test
participant test2
link test: github @ https://github.com
test->>test2: talk to
Loading
Expected behaviour
On click of the actor box should display the menu item.
Actual behaviour
Actor Menu are not displayed, they are in the shadowDOM of the svg but the click event is not triggered.
Steps to reproduce
Create a diagram using mkdocs-material with the config explained above
Thanks for reporting. When I'm trying to run your example, I'm greeted with an error when opening the browser's console:
The error manifests when the browser tries to parse and render the SVG markup generated by Mermaid. From the message, I read that Mermaid generated a NaN value, which is invalid for dy. I understand that this might be solely related to Mermaid.js running in Shadow DOM, but since this is a necessary requirements, I need to close this issue as not fixable.
Contribution guidelines
I've found a bug and checked that ...
mkdocs
orreadthedocs
themescustom_dir
,extra_javascript
andextra_css
Description
When clicking the participant
test
it should open up the actor popup menu. that event is not trigger. I'm using the native support with mermaid with plain mkdocs the rendering was different using html and pre, it was working as expected.Sharing this simple diagram to showcase the issue
Expected behaviour
On click of the actor box should display the menu item.
Actual behaviour
Actor Menu are not displayed, they are in the shadowDOM of the svg but the click event is not triggered.
Steps to reproduce
Package versions
Configuration
System information
The text was updated successfully, but these errors were encountered: