rc-slider
Advanced tools
Comparing version 1.2.5 to 1.2.6
@@ -79,3 +79,3 @@ 'use strict'; | ||
this._onHandleResizeListener = DomUtils.addEventListener(window, 'resize', this.handleResize); | ||
this.handleResize(); | ||
setTimeout(this.handleResize, 0); | ||
}, | ||
@@ -420,7 +420,11 @@ | ||
Tooltip, | ||
{ placement: 'top', overlay: React.createElement( | ||
{ | ||
placement: 'top', | ||
overlay: React.createElement( | ||
'span', | ||
null, | ||
this.state.value | ||
), delay: 0 }, | ||
), | ||
delay: 0, | ||
prefixCls: prefixClsFn(prefixCls, 'tooltip') }, | ||
handle | ||
@@ -455,3 +459,3 @@ ); | ||
var prefixCls = props.className; | ||
var sliderClassName = props.disabled ? prefixClsFn(prefixCls, 'disabled') : prefixCls; | ||
var sliderClassName = props.disabled ? prefixCls + ' ' + prefixClsFn(prefixCls, 'disabled') : prefixCls; | ||
@@ -458,0 +462,0 @@ return React.createElement( |
{ | ||
"name": "rc-slider", | ||
"version": "1.2.5", | ||
"version": "1.2.6", | ||
"description": "slider ui component for react", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21699
528