Skip to content

Commit

Permalink
fix(range): stop sliding after releasing mouse outside the window
Browse files Browse the repository at this point in the history
Closes #6802
  • Loading branch information
manucorporat authored and adamdbradley committed Jun 9, 2016
1 parent 14d29e6 commit 9b2e934
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/range/range.ts
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ export class Range {

} else {
removes.push(renderer.listenGlobal('body', 'mousemove', this.pointerMove.bind(this)));
removes.push(renderer.listenGlobal('body', 'mouseup', this.pointerUp.bind(this)));
removes.push(renderer.listenGlobal('window', 'mouseup', this.pointerUp.bind(this)));
}
}

Expand Down

0 comments on commit 9b2e934

Please sign in to comment.