Skip to content

Commit

Permalink
Merge pull request #130 from haroon-tahir-laam/main
Browse files Browse the repository at this point in the history
all Event Listeners are removed before Destroy
  • Loading branch information
weotch authored Dec 11, 2023
2 parents dff2ad5 + f6ac6c1 commit 240137f
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 240137f

Please sign in to comment.