react-range-slider icon indicating copy to clipboard operation
react-range-slider copied to clipboard

document on mouse move event not removed when unmount the component

Open AAHossny opened this issue 9 years ago • 3 comments

If you use the slider in a page and then go to another page you will find mouse move action trying to setState for unmounted component image

AAHossny avatar Oct 18 '16 08:10 AAHossny

Thanks for reporting this @AAHossny , I will check it soon.

jpuri avatar Oct 18 '16 08:10 jpuri

Is there an update on this - this is causing some issues on our app and just wanted to see if there was any progress before I took a stab at it.

camatangelo avatar Jul 06 '17 01:07 camatangelo

When you go to another page, n._onDocumentMouseMove function still works for unmounted component. How can I fix that?

super-developer-star avatar Oct 11 '17 10:10 super-developer-star