mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(slider): prevent thumb from getting stuck on Mobile Safari (#2142)
* . * fix(slider): prevent thumb from getting stuck on Mobile Safari * fix units
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user