Skip to content

Commit

Permalink
all Event Listeners are removed before Destroy
Browse files Browse the repository at this point in the history
  • Loading branch information
haroon-tahir-laam committed Dec 8, 2023
1 parent dff2ad5 commit f6ac6c1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/concerns/dragging.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ export default
window.removeEventListener 'touchmove', @onPointerMove, passive
window.removeEventListener 'touchend', @onPointerUp, passive
window.removeEventListener 'touchmove', @onWinMove, notPassive
window.removeEventListener 'contextmenu', @onPointerUp, passive
window.removeEventListener 'touchmove', @stopEvent, notPassive

computed:

Expand Down

0 comments on commit f6ac6c1

Please sign in to comment.