Skip to content
Permalink
Browse files

fix: Remove event listener handleTouchEnd when Slider unmount (#89)

  • Loading branch information...
chrisdale44 authored and davidchin committed May 20, 2017
1 parent a6ddbf5 commit 660fa5c070b34e1ecead2a482b79ddea063194f5
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/js/input-range/slider.jsx
@@ -158,7 +158,7 @@ export default class Slider extends React.Component {
* @return {void}
*/
removeDocumentTouchEndListener() {
this.node.ownerDocument.removeEventListener('touchend', this.handleTouchUp);
this.node.ownerDocument.removeEventListener('touchend', this.handleTouchEnd);
}

/**

0 comments on commit 660fa5c

Please sign in to comment.
You can’t perform that action at this time.