Skip to content

Commit

Permalink
Merge pull request #1905 from blacktemplar/option_undefined_this_fix
Browse files Browse the repository at this point in the history
binds handleTouchEnd in Option component
  • Loading branch information
agirton authored Aug 3, 2017
2 parents f343f92 + 4802928 commit 28281a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Option.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ class Option extends React.Component {
this.handleMouseEnter = this.handleMouseEnter.bind(this);
this.handleMouseMove = this.handleMouseMove.bind(this);
this.handleTouchStart = this.handleTouchStart.bind(this);
this.handleTouchEnd = this.handleTouchEnd.bind(this);
this.onFocus = this.onFocus.bind(this);
}

Expand Down

0 comments on commit 28281a2

Please sign in to comment.