Skip to content

Commit

Permalink
Merge pull request jquense#258 from CollabraMusic/master
Browse files Browse the repository at this point in the history
NumberPicker updated to respond to onMouseLeave rather than onMouseOut.
  • Loading branch information
jquense committed Nov 29, 2015
2 parents 2944c3f + e1cf97d commit dc1c6d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/NumberPicker.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ let NumberPicker = React.createClass({
className={cx({ 'rw-state-active': this.state.active === directions.UP})}
onMouseDown={this._mouseDown.bind(null, directions.UP)}
onMouseUp={this._mouseUp.bind(null, directions.UP)}
onMouseOut={this._mouseUp.bind(null, directions.UP)}
onMouseLeave={this._mouseUp.bind(null, directions.UP)}
onClick={this._focus.bind(null, true)}
disabled={val === this.props.max || this.props.disabled}
aria-disabled={val === this.props.max || this.props.disabled}>
Expand All @@ -129,7 +129,7 @@ let NumberPicker = React.createClass({
className={cx({ 'rw-state-active': this.state.active === directions.DOWN})}
onMouseDown={this._mouseDown.bind(null, directions.DOWN)}
onMouseUp={this._mouseUp.bind(null, directions.DOWN)}
onMouseOut={this._mouseUp.bind(null, directions.DOWN)}
onMouseLeave={this._mouseUp.bind(null, directions.DOWN)}
onClick={this._focus.bind(null, true)}
disabled={val === this.props.min || this.props.disabled}
aria-disabled={val === this.props.min || this.props.disabled}>
Expand Down

0 comments on commit dc1c6d0

Please sign in to comment.