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

SVG Upload Problems #75

Open
tsteinwen13 opened this issue Aug 31, 2022 · 0 comments
Open

SVG Upload Problems #75

tsteinwen13 opened this issue Aug 31, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@tsteinwen13
Copy link

You can create a svg without height and width in the svg tag and most programs support that. I exported an svg from illustrator and wanted to upload it to the maskable.app. But it doesn't work. You don't see the uploaded svg.

Expected Behavior

You should be able to upload an svg without a width and a height in the svg tag. After the upload you should be able to see the svg in the preview.

OR

Show an error message, that the svg needs a given height and width in the svg tag.

Current Behavior

You can upload such a svg without height and width in the svg tag, but you can't see it in the preview or in the export.

Steps to Reproduce

Click on the editor and then try to upload this svg:

<svg id="Ebene_1" data-name="Ebene 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 77.47 87.69">
  <circle cx="50" cy="50" r="40" stroke="black" stroke-width="3" fill="red" />
</svg> 

if you upload the following svg it works:

<svg id="Ebene_1" data-name="Ebene 1" xmlns="http://www.w3.org/2000/svg" width="27.33mm" height="30.94mm" viewBox="0 0 77.47 87.69">
  <circle cx="50" cy="50" r="40" stroke="black" stroke-width="3" fill="red" />
</svg> 

Context (Environment)

Tested in Mozilla Firefox for Ubuntu 104.0 (64-Bit)

@NotWoods NotWoods added the bug Something isn't working label Sep 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants