You've released a new version of react-modal a couple of hours ago.
As you can see here, you forgot a 'function' keyword for non ES6 class component, and UglifyJs doesn't like this a single bit...
(see definition of removePortal with missing function compared to reset of the functions there).
For UglifyJs to succeed. It now doesn't.
Thanks!!!
And this line in ModalPortal.js too.
Can you please fix this ASAP? This is breaking tones of our builds unfortunately. Can you provide ETA and let me know please? Thank you!
CC: @diasbruno @claydiffrient
Update. I see https://github.com/reactjs/react-modal/pull/337 so I'm quite relaxed now. Thank you for doing that! 馃帺
Backporting problems.
It happens sometimes. :)
@diasbruno Do we have a high level ETA on the fix branch going out?
having the same issue as we use react-bootstrap-table which has react-modal as a dependancy. Have had to manually add react-modal and hardcode the version to 1.6.5 to get the build to work.
v1.7.1 was released.
v1.7.1 fixed the problem
Going ahead and closing this since 1.7.1 has been reported to have indeed fixed the problem.
Most helpful comment
v1.7.1was released.