Open joycemau opened 3 years ago
We're experiencing the same problem where IE11-support suddenly stopped working. After delving around I've noticed the breaking change in this commit: https://github.com/paulcollett/react-masonry-css/commit/c0253722712bc4a3b53abc834f2ca53c0a195a4c
The es5.js version is swapped with a cjs.js version. Now, a Class is exposed in the code which IE11 can't handle. Compare these 2 files:
-var Masonry = function (_React$Component) {
+class Masonry extends React__default['default'].Component {
Current workaround Pin your react-masonry-css version to 1.0.14
"react-masonry-css": "1.0.14",
Hi @paulcollett!
It seems that the latest release broke semver. Would it be possible to publish 2 new versions?
Or is there something easier we could do? Thank you for your time.
Used this on my site but it's not working on ie11. Was wondering if it is no longer supported.
Tried to open demo page as well on ie, also doesn't show the masonry.