Skip to content

After importing a local svg file, it is displayed incorrectly. #5534

@xiaohuyf

Description

@xiaohuyf

Preflight Checklist

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

You must search the issue tracker and agree to the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.

If you are technical, you should report bugs along the lines of https://marker.io/blog/how-to-write-bug-report. If you are not technical, we will make allowances, please try to make an effort to understand the process.

Describe the bug
After importing a local svg file, it is displayed incorrectly.

To Reproduce
Steps to reproduce the behavior:

  1. Open online version of drawio
  2. import attached svg file (Please see Additional context)
  3. See error

Expected behavior
SVG is displayed correctly.

Screenshots
If applicable, add screenshots to help explain your problem.

Image
  • draw.io (online) version 29.6.10

Desktop

  • OS: [Windows 11]
  • Browser [Chrome]
  • Browser Version [146.0.7680.178 64-bit]

Additional context

Image

Image

Image

This is what these SVG files look like (I opened them directly in Chrome):

Image Image Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions