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
We're using react-visibilty-sensor to animate pictures on our home page, and we use https://sentry.io to monitor errors on client side.
We've got multiple reports on the following issue: "Invariant Violation: findDOMNode was called on an unmounted component"
This happens in visibility-sensor.js, there:
/**
* Check if the element is within the visible viewport
*/
check: function () {
var el = ReactDOM.findDOMNode(this);
var rect;
var containmentRect;
(on Chrome mobile 56.0.2924)
I can't reproduce on my computer, but looks related to the tabs "Je suis propriétaire / Je suis acquéreur".
What I understand from your code is that at the end there's no real issue, because if you can't find the node you do nothing. But that warning is a bit annoying.
I presume the issue comes from a last check() call by "debounceCheck", because you don't clear the setTimeout l.21 on stopWatching
The text was updated successfully, but these errors were encountered:
We're using react-visibilty-sensor to animate pictures on our home page, and we use https://sentry.io to monitor errors on client side.
We've got multiple reports on the following issue: "Invariant Violation: findDOMNode was called on an unmounted component"
This happens in visibility-sensor.js, there:
(on Chrome mobile 56.0.2924)
I can't reproduce on my computer, but looks related to the tabs "Je suis propriétaire / Je suis acquéreur".
What I understand from your code is that at the end there's no real issue, because if you can't find the node you do nothing. But that warning is a bit annoying.
I presume the issue comes from a last
check()
call by "debounceCheck", because you don't clear the setTimeout l.21 onstopWatching
The text was updated successfully, but these errors were encountered: