-
-
Notifications
You must be signed in to change notification settings - Fork 7k
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
[Bug Report] v-img with svg is not loading in Edge #6316
Comments
Does it work in an |
Just spun up a VM and it doesn't, so this has nothing to do with us. |
@KaelWD it does work in an |
So - I simply cannot use v-img with Edge? Is that what you are trying to tell me? |
You can, just not with that image. When I tested it with an img tag instead edge just showed a black cross |
Odd, Edge does show it for me using an |
Version? My vm's pretty old so I'm running Edge 41.16299.371.0/EdgeHTML 16.16299 |
I'm using Edge 42.17134.1.0 |
took me a while to find it, but im using 42.17134.1.0 aswell |
So I checked again and it has decided to load now for some reason, but there's a weird css issue preventing the v-img from having any width. I'll have to look into it further. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I can confirm that the bug still persists. Please clone and start this very simple landing page with around 100 SVGs: https://github.com/hackerstolz/climathon-spa/tree/v.1.0.0 Edge: |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
FYI, I got around it using: |
Found a working solution with vuetify's <v-img and edge. You have to use the aspect-ration attribute. Like so
|
This comment has been minimized.
This comment has been minimized.
should probably still keep this open for the other people |
FYI: I was able to get
Not sure why this fixes it vs. using width and contain, but it does. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Experiencing a similar issue now on all browsers. Chrome Firefox and Edge.
Tried all workarounds mentioned above and no luck. Shows jpeg png etc but not svg. |
@kairos0ne Did you try it with setting a |
What version of Vuetify are you guys using? |
@SaschaAusUlm The incident I started chiming in with was |
This is resolved on the latest Edge which uses Chromium (I believe) and I can no longer reproduce the issue. If you have any additional questions, please reach out to us in our Discord community. |
Versions and Environment
Vuetify: 1.4.4
Vue: 2.5.22
Browsers: Microsoft Edge
OS: Linux x86_64
Steps to reproduce
Expected Behavior
svg is displayed in Edge
Actual Behavior
svg is not displayed in Edge
Reproduction Link
https://codepen.io/anon/pen/exvygV
Other comments
As far as my debugging goes image.onload is not called and the vuetify code cannot properly set the background image as result
The text was updated successfully, but these errors were encountered: