nikitaeverywhere / react-xmasonry

Simple, minimalistic and featured native masonry layout for React JS.
https://zitros.github.io/react-xmasonry
MIT License
91 stars 12 forks source link

Does this work on IE11? #8

Closed ghost closed 6 years ago

ghost commented 6 years ago

I'm trying to make this work in IE11 but I'm seeing this message Loading... If you see this text, that means that your browser doesn't support latest React JS or you have network problems. Try refreshing the page or updating your browser. in my browser. Is there any workaround for this?

Thanks!

nikitaeverywhere commented 6 years ago

Hi, Alejandro!

Looks like it's about undefined Array.from in IE11. Thanks for reporting, I'll look at this shortly.

nikitaeverywhere commented 6 years ago

Alejandro, adding Array.from polyfill directly to react-xmasonry results in +2kb weight.

Will it be okay for you to use the polyfill out of the box?

nikitaeverywhere commented 6 years ago

The fix is published as 2.5.2, thank you for noticing this! Please confirm that the issue is resolved.

ghost commented 6 years ago

Thanks, 2.5.2 fixed it. 👍