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 image onLoad event not getting dispatched on IE11 #11058
Comments
I am not sure what's going on here, but some research suggests there are a few oddities on the IE11 There a scant fixes i could find online and the one here is supppper ugly and probably not tenable. Any insight @nhunzaker ? you are the resident svg guru |
Gah, Sorry! I'm just getting to this doing some testing for another PR and I stumbled upon this via Google 😵. I can't get IE or Edge to load the SVG image event, period using the following test: I can't find a solution researching (googling) online either, other than the recommendation you've suggested to use a I'd be comfortable closing this one out and writing it off as a browser bug. It's lame, but I'm not super into hacking an image tag into SVG (and worried about edge cases if used as a general solution) |
yeah I think the cost of the workaround is too much. I'm comfortable with this being a "won't fix" if ya'll are |
I'm okay with that. |
Indeed @nhunzaker |
SVG
image
element is not getting onLoad event dispatched on IE11Example:
https://codepen.io/sahid/pen/NaaRzX
Tested with React 15.1 and 16.0
The text was updated successfully, but these errors were encountered: