react-joyride icon indicating copy to clipboard operation
react-joyride copied to clipboard

Console warning - overlay not mounted?

Open alondahari opened this issue 8 years ago • 3 comments

I'm getting this error in the console: index.js:2178 Warning: Can only update a mounted or mounting component. This usually means you called setState, replaceState, or forceUpdate on an unmounted component. This is a no-op.

Please check the code for the Overlay component.

Expected behavior

I expect to not get the error... :)

React version: 16.0.0 React-Joyride version: 2.0.0-11

Error stack

image

If you are having UI issues, make sure to send a public URL or codesandbox example.

alondahari avatar Jul 06 '18 15:07 alondahari

Please post an example in codesandbox

gilbarbara avatar Jul 15 '18 21:07 gilbarbara

I'm getting this also. It's worth noting that it only showed up after I switched Joyride to a controlled component.

codehtmai avatar Sep 11 '18 21:09 codehtmai

Getting duplicate error as well with 2.0.0-15. Only seems to occur for me in mobile when step event is "hover". Setting event to "click", which is the actual event with a touchscreen, seems to resolve the issue.

SlowFamily avatar Oct 15 '18 18:10 SlowFamily