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
Version 1.9.0 added a deduplication mechanism for event listeners, but did not remove the corresponding records. This causes the component to fail to update the event listener when it is remounted and the container is specified.
The text was updated successfully, but these errors were encountered:
By the way I noticed it seems the scrollSpyContainer hasn't never been removed. A possible solution is to check and remove unused containers by isConnected during the execution of scrollSpy.mount. :)
refer: https://developer.mozilla.org/en-US/docs/Web/API/Node/isConnected
react-scroll/modules/mixins/passive-event-listeners.js
Lines 13 to 15 in 526bab0
Version 1.9.0 added a deduplication mechanism for event listeners, but did not remove the corresponding records. This causes the component to fail to update the event listener when it is remounted and the container is specified.
The text was updated successfully, but these errors were encountered: