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

Bugs: Error on uploading any svg files #14

Closed
rizesky opened this issue Jan 23, 2020 · 5 comments
Closed

Bugs: Error on uploading any svg files #14

rizesky opened this issue Jan 23, 2020 · 5 comments

Comments

@rizesky
Copy link

rizesky commented Jan 23, 2020

error_upload_svg

Hi im trying to upload svg, with following registration:
config

I always got error,
What should i do to solve this?
thank you

@rikschennink
Copy link
Collaborator

I'm not sure, please create a public test case on codesandbox.io

@kylefox
Copy link

kylefox commented Feb 27, 2020

We're running into this error as well. All SVGs break our FilePond instances. I created a minimal example to demo the problem.

To reproduce, drag any SVG file into the filepond. After a moment or two, you'll see this error:

main.js:13 Uncaught TypeError: Cannot read property 'aspectRatio' of undefined
    at FileReader.C.u.onloadend (main.js:13)

@rikschennink
Copy link
Collaborator

@kylefox thanks Kyle! I've confirmed the issue, fixing now.

@rikschennink
Copy link
Collaborator

Fixed in version 3.7.2

@kylefox
Copy link

kylefox commented Feb 28, 2020

Awesome, I can confirm the fix worked 👍 Thanks for the quick response! You can likely close this issue now.

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

No branches or pull requests

3 participants