Skip to content

Commit

Permalink
fix(slider): prevent thumb from getting stuck on Mobile Safari (#2142)
Browse files Browse the repository at this point in the history
* .

* fix(slider): prevent thumb from getting stuck on Mobile Safari

* fix units
  • Loading branch information
mmalerba authored Dec 9, 2016
1 parent e85d108 commit 4adee46
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib/slider/slider.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand Down

0 comments on commit 4adee46

Please sign in to comment.