Apologies if there is something obvious I am missing.
When using the pan event on a component which subsequently unmounts (and remounts elsewhere), the callback is no longer called. Is there a way to keep the event actively firing until the mouse/touch is released, even after unmounting? I'm trying to achieve a 'drag' effect.
Hi there,
Apologies if there is something obvious I am missing.
When using the pan event on a component which subsequently unmounts (and remounts elsewhere), the callback is no longer called. Is there a way to keep the event actively firing until the mouse/touch is released, even after unmounting? I'm trying to achieve a 'drag' effect.
Thanks