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

IE Edge fails to display SVG on a Canvas [UPDATE: Now with JS Fiddle] #2510

Closed
gurmukhp opened this issue Apr 15, 2016 · 4 comments
Closed
Labels
🕷 Bug Verified that it’s actually a legit bug that exists in the current release. 🥶 Low Priority Generally issues or PRs that don’t need to make it into the next release. 💾 v4.x (Legacy) Legacy version 4 support

Comments

@gurmukhp
Copy link

gurmukhp commented Apr 15, 2016

For some reason, when loading in a SVG on IE Edge, nothing shows. I can see in the log that the images are being loaded in. When trying it on IE 9 or 10, it works perfectly fine (but gives an error in the console).

I've tried loading in an external image and also inlining it, but having the same problem.
https://jsfiddle.net/vwzjzn4h/1/

Here is an example of the same SVG loaded into a Canvas in IE Edge with no errors:
http://jsfiddle.net/gurmukh/wzsz45g4/

Is this is a known issue or is there any working example on Edge I can look at?

Thanks!

@gurmukhp gurmukhp changed the title Firefox fails to display SVG if height and width isn't defined. Firefox / IE Edge fail to display SVG Apr 15, 2016
@gurmukhp gurmukhp changed the title Firefox / IE Edge fail to display SVG IE Edge fails to display SVG on a Canvas [UPDATE: Now with JS Fiddle] Apr 17, 2016
@rbndelrio
Copy link

This also seems to be a problem in firefox.

@englercj
Copy link
Member

englercj commented Sep 29, 2016

Had lots of suggestions improvements made in the most recent dev branch can you try again with the latest dev build?

Get the latest build: https://github.com/pixijs/pixi.js/wiki/FAQs#where-can-i-get-a-build

@englercj englercj added 🕷 Bug Verified that it’s actually a legit bug that exists in the current release. Status: Needs More Info 💾 v4.x (Legacy) Legacy version 4 support 🥶 Low Priority Generally issues or PRs that don’t need to make it into the next release. labels Sep 29, 2016
@RanzQ
Copy link
Contributor

RanzQ commented Oct 11, 2016

Seems to work fine in latest dev: http://codepen.io/RanzQ/pen/bwdLOv

@lock
Copy link

lock bot commented Feb 25, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Feb 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🕷 Bug Verified that it’s actually a legit bug that exists in the current release. 🥶 Low Priority Generally issues or PRs that don’t need to make it into the next release. 💾 v4.x (Legacy) Legacy version 4 support
Projects
None yet
Development

No branches or pull requests

4 participants