andyyou / react-coverflow

A Coverflow effect component of React version made for the web.
http://andyyou.github.io/react-coverflow/
MIT License
347 stars 142 forks source link

Some error about updateDimensions function #21

Closed hkchiang closed 6 years ago

hkchiang commented 7 years ago

When using the coverflow component as content in the panel component, and resize my Chrome Browser , it will show error as follows

Uncaught Error: findDOMNode was called on an unmounted component. at invariant (react-with-addons.js:20277) at Object.findDOMNode (react-with-addons.js:17766) at Coverflow.updateDimensions (Coverflow.js:120) at Coverflow.eval (makeAssimilatePrototype.js:15)

It looks like there's some things wrong with resize action, but in fact view and function work as well need some suggestion..

Thanks for your help.

asalem1 commented 6 years ago

Hi @hkchiang, could you please pull the most recent branch and let me know if the error persists. I can't seem to recreate it on my end