-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
JavaScript not loading on IE 11 #5344
Comments
I'm sorry, I didn't see that probably images are not shown because JavaScript is not loaded. |
same problem here. any solution? |
UPDATE I tried to solve this issue with an help from #2807. I get So, I added Any help? If adding the polyfill as indicated in #3314 and #2177 (and others) it's still breaking, what could I do? |
@fredrik-sogaard Unfortunately I didn't resolve my problem with your PR #5404. Did you have any suggestion? Maybe it would work if I'll be able to resolve the |
Have you tried adding https://polyfill.io/v2/docs/ with the default set plus Symbol? Like so |
Thank you @fredrik-sogaard!! Now it's working fine, you saved me the day before the golive! 💙 |
I've fixed this by adding |
I also had issues with my Gatsby site in IE11 and I was not able to get it up and running. I have tried several solutions suggested in this thread and finally I got it working with
All other solutions did not really work because some Webpack code was executed that uses Finally my site runs in IE11 too 🎉 |
Description
On IE11, images are not showing: the base64 placeholder of
gatbsy-image
do, but the "real" ones don't.I had no issues using other browsers, this happens only in IE (I tested only in version 11, this is old enough 😉).
I don't have any error in the console.
Inspecting the DOM, I saw there was a
<img>
element - like in other browsers - with the correct image sizes/resolutions in the<noscript>
tag and copying that node in the correct position, beside the base64 image, I get the correct image and everything works fine.For the moment, I guess I'll do an hack like this on IE, waiting for a solution.
Does anybody had issues like these ones?
Steps to reproduce
I'm using resolutions and sizes in Image components, so I can't find nothing particular in my use case.
It's the basic and common usage of
gatsby-image
, I followed the docs and Kyle Gill's article.Environment
npm list gatsby
): 1.9.259npm list gatsby-image
): 1.0.51gatsby --version
): 1.1.50File contents (if changed)
gatsby-config.js
:package.json
:The text was updated successfully, but these errors were encountered: