-
Notifications
You must be signed in to change notification settings - Fork 55
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
It completely breaks App in IE11 (using Light) #49
Comments
Im not sure where in the code there is a for-in. Can you please elaborate? |
Line 14 Line 46 |
Are you using create-react-app? If so, see here for how to add support for ie11: https://stackoverflow.com/questions/55967048/how-do-i-support-ie-11-with-create-react-app-3-0 As for why react is included in the dist, I'm looking into that. |
Unfortunately not, we have an "old" app from 2 years ago, built the regular way. Lottie unfortunately is the only breaking our solution on IE11. Not even the latest react 17.0.2 does :/ |
Oh I see. But does normal lottie-web without react-lottie-player work in IE11? |
Good question. I saw that they are supposedly supporting it, but opening lottiefiles.com on IE11 shows no animations and some errors. |
If you can make lottie-web work on IE11, but reqct-lottie-player fails, then we can look into what’s causing it. |
I setup a pen and tested it on IE11. It works flawlessly when using Lottie light from their CDN https://codepen.io/edotgtg/pen/BaZeONa |
It'll throw a "SCRIPT1004: Expected ';' ". Very likely to be because of a FOR...IN loop https://stackoverflow.com/questions/55025430/script1004-expected-occuring-in-for-loop-ie-browser
Also, the Light package includes React 16... Why is that?
Thanks!
The text was updated successfully, but these errors were encountered: