From 39de81dfa9ddea444029168233360a61f2a95c30 Mon Sep 17 00:00:00 2001 From: Frank Weindel Date: Wed, 16 Dec 2015 16:38:15 -0500 Subject: [PATCH] If tipFormatter is null, don't show the tip --- src/Slider.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = (