Comparing version 2.1.3 to 2.1.4
@@ -47,3 +47,4 @@ 'use strict'; | ||
_this.culcTimeout = setTimeout(function () { | ||
var lastStepOffsetWidth = domNode.lastChild.getBoundingClientRect().width; | ||
// +1 for fit edge bug of digit width, like 35.4px | ||
var lastStepOffsetWidth = domNode.lastChild.offsetWidth + 1; | ||
if (_this.state.lastStepOffsetWidth === lastStepOffsetWidth) { | ||
@@ -50,0 +51,0 @@ return; |
{ | ||
"name": "rc-steps", | ||
"version": "2.1.3", | ||
"version": "2.1.4", | ||
"description": "steps ui component for react", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
31858
1028