-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
module.exports.cloneCssStyles() in combination with Angularjs breaks display in Chrome and IE #126
Comments
Thanks for pointing this out. I will look into it! Skickat från min iPad
|
The similar issue you sent was very useful. I have wrapped the css copying in a try/catch statement in a similar way. This is committed but not yet released. It also handles the case when the css file is on an external site, then firefox blocks the css copying. @wolframst, it would be very useful if you could test and see if this solves your issue. |
Hi Knut, Thats what I call a fast response. Thanks so much! Best, |
That sounds like a styling issue. Check if the styles for edgePaths are in place.
Also is the same for firefox/chrome? A tmp addition of the style inline can also give some clues to what the problem is. |
A fix for this has been released in version 0.5.0 |
I updated Mermaid to 0.5.0. But error still appears. :(
|
This is an error message occurring when styles are being copied from the surround context, (web page), into the svg code. The css rules that fails are, (at least in my test page), related to angular and not to the svg. In the catch clause for the exception there error is written but the copying continues. Does the svg appear for you? /KnutKnut Sveidqvist On Monday 8 June 2015 at 08:16, ma-zal wrote:
|
To knsv: You are right, final SVG is OK. So, if i understand, this "error" is "warning" only, because all works. And my imagination is: Error causes some part of Angular, that tries to manipulate with DOM, and it is not possible to solve it. |
…and_yarn/svelte-3.37.0 Bump svelte from 3.16.0 to 3.37.0
Hi Knut,
Thanks for this great library! It is really easy and intuitive to use.
I am using mermaid together with Angularjs, what works fine by and large.
When testing in different browsers, I noticed one issue that breaks display of Flowcharts in Chrome (latest version) and IE 10. In both browsers, all chart items appear completely black.
Uncommenting the lines below fixed the issue.
The Javascript error is
Searching for the problem, I found one link to a similar issue on github. The developer says that handling of invalid selector errors fixed the issue here. ( exupero/saveSvgAsPng#11 )
Uncommenting the code did not have any negative impact on display, so this is a workaround for me.
Maybe you can provide a fix in one of the next versions?
Thanks,
Wolfram
The text was updated successfully, but these errors were encountered: