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

Sandbox SVG elements to avoid ID conflicts #51

Merged
merged 1 commit into from
Jan 30, 2019

Conversation

aduh95
Copy link
Contributor

@aduh95 aduh95 commented Oct 29, 2018

Arrows in the sequence diagrams use SVG-markers for the message arrows, and since the extension has to have to the DOM both the light and the dark diagrams and hide the less relevant one, it used to produce conflicts which confuse the rendering engine into using the hidden light arrows for the dark diagram.
Sandboxing the images within img tags resolves the issue.

Refs: jaime-olivares/yuml-diagram#10
Fixes: #50

Arrows in the sequence diagrams use SVG-markers for the messqge arrows,
and since the extension has to have to the DOM both the light and the
dark diagrams and hide the less relevant one, it used to produce
conflicts which confuse the rendering engine into using the hidden light
arrows for the dark diagram.
Sandboxing the images within img tags resolves the issue.

Refs: jaime-olivares/yuml-diagram#10
Fixes: jaime-olivares#50
@jaime-olivares jaime-olivares merged commit 484a303 into jaime-olivares:master Jan 30, 2019
@aduh95 aduh95 deleted the patch-1 branch February 8, 2019 10:06
@jaime-olivares jaime-olivares mentioned this pull request Mar 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Messages arrows not rendered in sequence diagram
2 participants