react-resizable-box
Advanced tools
Comparing version 2.0.3 to 2.0.4
@@ -114,7 +114,8 @@ 'use strict'; | ||
var newWidth = typeof this.props.width === 'undefined' ? 'auto' : this.props.width; | ||
if (width !== newWidth) { | ||
this.setState({ width: newWidth }); | ||
if (width !== this.props.width) { | ||
this.setState({ width: width }); | ||
} | ||
if (height !== this.props.height) this.setState({ height: height }); | ||
if (height !== this.props.height) { | ||
this.setState({ height: height }); | ||
} | ||
} | ||
@@ -121,0 +122,0 @@ }, { |
{ | ||
"name": "react-resizable-box", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"description": "", | ||
@@ -50,4 +50,4 @@ "main": "lib/index.js", | ||
"eslint-plugin-import": "^2.2.0", | ||
"eslint-plugin-jsx-a11y": "^4.0.0", | ||
"eslint-plugin-react": "6.10.3", | ||
"eslint-plugin-jsx-a11y": "^5.0.0", | ||
"eslint-plugin-react": "7.0.0", | ||
"espower-babel": "4.0.3", | ||
@@ -57,3 +57,3 @@ "estraverse": "4.2.0", | ||
"flow-bin": "^0.45.0", | ||
"flow-runtime": "^0.11.0", | ||
"flow-runtime": "^0.12.0", | ||
"husky": "^0.13.3", | ||
@@ -73,3 +73,3 @@ "karma": "^1.6.0", | ||
"react-dom": "^15.5.3", | ||
"sinon": "2.1.0", | ||
"sinon": "2.2.0", | ||
"watchify": "3.9.0" | ||
@@ -76,0 +76,0 @@ }, |
@@ -218,2 +218,6 @@ # react-resizable-box | ||
#### v2.0.4 | ||
- Fix receiveProps. (related #85) | ||
#### v2.0.3 | ||
@@ -220,0 +224,0 @@ |
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
554
359
34228