From 4adee46bcbfd5ff43bf9e9ac4c09dbf90da4102b Mon Sep 17 00:00:00 2001 From: mmalerba Date: Fri, 9 Dec 2016 15:18:51 -0800 Subject: [PATCH] fix(slider): prevent thumb from getting stuck on Mobile Safari (#2142) * . * fix(slider): prevent thumb from getting stuck on Mobile Safari * fix units --- src/lib/slider/slider.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/slider/slider.scss b/src/lib/slider/slider.scss index d26066cf6c24..2e82aa5817ca 100644 --- a/src/lib/slider/slider.scss +++ b/src/lib/slider/slider.scss @@ -94,7 +94,9 @@ md-slider { .md-slider-sliding { .md-slider-track-fill, .md-slider-thumb-container { - transition: none; + // Must use `transition-duration: 0ms` to disable animation rather than `transition: none`. + // On Mobile Safari `transition: none` causes the slider thumb to appear stuck. + transition-duration: 0ms; } }