3rd / tsdiagram

Create diagrams and plan your code with TypeScript.
https://tsdiagram.com
GNU General Public License v3.0
429 stars 16 forks source link

Exports broken on Firefox #12

Closed w-biggs closed 8 months ago

w-biggs commented 8 months ago

The default diagram, when exported, is a broken mess on Firefox. It looks like the issue is the export, not the SVG rendering; the same exported diagram is also broken when loaded into Chrome.

image diagram

3rd commented 8 months ago

Added a hack to semi-fix it on Firefox, the browser itself seems to have some rendering issues and renders things exactly as you can see them in your image initially, then it fixes itself somehow. Looks like a Firefox problem. Added a small delay to let it do its thing, but it's just a hack, I'd expect other rendering issues.