tomchentw / react-toastr

React.js toastr component
https://tomchentw.github.io/react-toastr/
MIT License
619 stars 112 forks source link

Uncaught Error - When navigating away during hide animation #89

Open platonicvizard opened 7 years ago

platonicvizard commented 7 years ago

Uncaught Error: findDOMNode was called on an unmounted component. at invariant (invariant.js:38) at Object.findDOMNode (findDOMNode.js:53) at Object._set_animation (animationMixin.js:100) at Object.hideToast (animationMixin.js:190) invariant @ invariant.js:38 findDOMNode @ findDOMNode.js:53 _set_animation @ animationMixin.js:100 hideToast @ animationMixin.js:190

RangarajKaushikSundar commented 7 years ago

@platonicvizard From what I understand, you are trying to access a DOM element after it is being unmounted. Can you provide more details.

Hope it helps. Kaushik