react-state-animation icon indicating copy to clipboard operation
react-state-animation copied to clipboard

Fails in IE

Open feychou opened this issue 8 years ago • 2 comments

Since Promise is not polyfilled, the animation won't work on IE (till latest; it works on Edge though).

This will cause all hosting apps that rely on react-state-animation and have no polyfill installed to get the same error on IE.

screen shot 2017-01-18 at 12 16 50

feychou avatar Jan 18 '17 11:01 feychou

I am not sure what the best way to go about it is, many libs just have a warning in the README about compatibility and let the hosting application install the polyfills. That may be best practice in terms of bundle size.

Would you accept a PR with a warning in the README and a polyfill installed in the demo?

feychou avatar Jan 20 '17 09:01 feychou

Thanks for opening the issue. I appreciate if you create a PR which contains the README updates and polyfill installation for the demo code.

tejitak avatar Jan 20 '17 09:01 tejitak