You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We generate SVG avatars with a single size in the backend, and then use width and height attributes of the img tag to size them as-needed on the frontend. On the latest release, this works fine in all oses/browsers except for Internet Explorer 11.
When we downgrade to 4.1.1, they look (somewhat) as expected in IE 11
To be clear, they don't look great in IE 11, but at least they're readable 😂
We are okay to stay on version 4.1.1 for the time being, as our use-case doesn't expose the Firefox bug that was fixed in 4.1.2. But, since our team is committed to IE 11 support throughout its remaining support lifespan, it would be nice to see this addressed somehow in the library.
It looks like adding the viewBox attribute to the root SVG element would potentially fix the issue. So perhaps it could be added internally upon generation?
The text was updated successfully, but these errors were encountered:
We generate SVG avatars with a single size in the backend, and then use
width
andheight
attributes of theimg
tag to size them as-needed on the frontend. On the latest release, this works fine in all oses/browsers except for Internet Explorer 11.When we downgrade to
4.1.1
, they look (somewhat) as expected in IE 11We are okay to stay on version
4.1.1
for the time being, as our use-case doesn't expose the Firefox bug that was fixed in4.1.2
. But, since our team is committed to IE 11 support throughout its remaining support lifespan, it would be nice to see this addressed somehow in the library.It looks like adding the
viewBox
attribute to the root SVG element would potentially fix the issue. So perhaps it could be added internally upon generation?The text was updated successfully, but these errors were encountered: