Comparing version 2.2.3 to 2.2.4
@@ -51,3 +51,3 @@ 'use strict'; | ||
// +1 for fit edge bug of digit width, like 35.4px | ||
var lastStepOffsetWidth = domNode.lastChild.offsetWidth + 1; | ||
var lastStepOffsetWidth = (domNode.lastChild.offsetWidth || 0) + 1; | ||
if (_this.state.lastStepOffsetWidth === lastStepOffsetWidth) { | ||
@@ -54,0 +54,0 @@ return; |
{ | ||
"name": "rc-steps", | ||
"version": "2.2.3", | ||
"version": "2.2.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
34235