diff --git a/src/common/Slider/Slider.js b/src/common/Slider/Slider.js index 5899dfef2..84c3a1870 100644 --- a/src/common/Slider/Slider.js +++ b/src/common/Slider/Slider.js @@ -79,7 +79,7 @@ class Slider extends Component { render() { const thumbStartProp = this.orientation === 'horizontal' ? 'left' : 'bottom'; const trackBeforeSizeProp = this.orientation === 'horizontal' ? 'width' : 'height'; - const thumbStart = Math.min((this.props.value - this.props.minimumValue) / (this.props.maximumValue - this.props.minimumValue), 1); + const thumbStart = Math.max(0, Math.min(1, (this.props.value - this.props.minimumValue) / (this.props.maximumValue - this.props.minimumValue))); return (