material icon indicating copy to clipboard operation
material copied to clipboard

md-slider rendering issue in the case of dynamic min/max

Open ivan7237d opened this issue 11 years ago • 2 comments

The following CodePen illustrates (when value < min, thumb ends up outside the ruler): http://codepen.io/anon/pen/NGKVPN

ivan7237d avatar Aug 29 '15 19:08 ivan7237d

+1

karolkochan avatar Aug 31 '15 13:08 karolkochan

A workaround is using $timeout to set the value in a separate digest cycle. In the above CodePen, replace $scope.value = 10; with $timeout(function() { $scope.value = 10; });

PeWu avatar Oct 09 '15 08:10 PeWu