Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Commit 83349e0

Browse files
committed
fix(slider): Guard against unnecessary touch events in IE as they are unnecessary
1 parent 128cf93 commit 83349e0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/mdc-slider/continuous/foundation.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,9 @@ export default class MDCSliderFoundation extends MDCFoundation {
106106
}
107107

108108
handleTouchMove_(event) {
109-
if (event.pointerType && event.pointerType !== 'touch') {
109+
// IE processes events on the input[range] without additional help
110+
// unlike Safari iOS.
111+
if (this.isIE_ || (event.pointerType && event.pointerType !== 'touch')) {
110112
return;
111113
}
112114

0 commit comments

Comments
 (0)