mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 05:58:26 +08:00
fix(range): stop sliding after releasing mouse outside the window
Closes #6802
This commit is contained in:

committed by
Adam Bradley

parent
14d29e687e
commit
9b2e934a2f
@ -415,7 +415,7 @@ export class Range {
|
|||||||
|
|
||||||
} else {
|
} else {
|
||||||
removes.push(renderer.listenGlobal('body', 'mousemove', this.pointerMove.bind(this)));
|
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)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user