diff --git a/src/Slider.jsx b/src/Slider.jsx index b5ff2ef..141fe43 100644 --- a/src/Slider.jsx +++ b/src/Slider.jsx @@ -339,7 +339,7 @@ class Slider extends React.Component { const lowerOffset = this.calcOffset(lowerBound); const handleClassName = prefixCls + '-handle'; - const isNoTip = (step === null) && !tipFormatter; + const isNoTip = tipFormatter === null || (step === null && !tipFormatter); const upper = (