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
Hi.
So navigating away from a component that uses this cool package and then resizing the displaying component causes this error. Is there a way to avoid this?
The text was updated successfully, but these errors were encountered:
FWIW, I figured out what the issue here is. You have to .bind() your resize function before you assign it in window.addEventListener. Because this wasn't done, when the Section component tries to unmount, it doesn't correctly remove the resize listener (different function). The fix is trivial, but it looks like the author of this package is no longer resolving Pull Requests.
I will probably end up making a fork for my own projects
Hi.
So navigating away from a component that uses this cool package and then resizing the displaying component causes this error. Is there a way to avoid this?
The text was updated successfully, but these errors were encountered: