You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In certain cases this methods throws an error not finding the Dom. It seems it is related to React and it was fixed in react 16.9.0. Dan from React suggests moving away from findDomNode method as it will be deprecated anyway.
Same issue here.. Using React.Lazy & Suspense to lazy load some components. While loading/downloading these I show a Loading component. This unmounts all other components I suppose and the setState trigger onClickOutside wouldn't work.
In certain cases this methods throws an error not finding the Dom. It seems it is related to React and it was fixed in react 16.9.0. Dan from React suggests moving away from
findDomNode
method as it will be deprecated anyway.https://github.com/Pomax/react-onclickoutside/blob/master/src/index.js#L100
facebook/react#14188 (comment)
The text was updated successfully, but these errors were encountered: