From 743451b23fe906faeeb38ab0957996f22953caf6 Mon Sep 17 00:00:00 2001 From: Material Web Team Date: Mon, 24 Apr 2023 13:14:34 -0700 Subject: [PATCH] fix(slider): ensure scrolling is prevented on mobile browsers PiperOrigin-RevId: 526735126 --- slider/lib/_slider.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/slider/lib/_slider.scss b/slider/lib/_slider.scss index 38fda57ff4..23431a9abf 100644 --- a/slider/lib/_slider.scss +++ b/slider/lib/_slider.scss @@ -130,6 +130,8 @@ $_md-sys-shape: tokens.md-sys-shape-values(); block-size: var(--_state-layer-size); // note, only the native inputs are interactive. pointer-events: none; + // ensure scrolling is prevented on mobile. + touch-action: none; } .track {