Closed xxx closed 6 years ago
I only see this error when I set a custom enterExitTransitionDurationMs
that is shorter than the default.
I got the same error, it tend to occur when I close many Popover components fastly
You can't rely on the ref being around when the component is unmounting if it's in a setTimeout. This just needs a conditional check around it
I'm currently seeing this issue sometimes when a popover is closing. It happens for multiple popovers in my app, and https://github.com/littlebits/react-popover/issues/147#issuecomment-334311727 indicates that I'm not the only one seeing this.
Below is just a reproduction of the above-linked comment, in case it disappears for some reason.