react-css-collapse
Advanced tools
Comparing version 4.0.3 to 4.0.4
# Changelog | ||
# 4.0.4 | ||
> January 14, 2020 | ||
* :bug: **Bugfix** Remove animation / calculation on first render | ||
# 4.0.3 | ||
@@ -4,0 +8,0 @@ > January 8, 2020 |
@@ -65,3 +65,3 @@ "use strict"; | ||
} | ||
} else { | ||
} else if (!isFirstRender) { | ||
setHeight(getHeight(content)); // The magic: Set collapsed style after setting height to enable smooth transition based on height | ||
@@ -68,0 +68,0 @@ |
{ | ||
"name": "react-css-collapse", | ||
"version": "4.0.3", | ||
"version": "4.0.4", | ||
"description": "Component-wrapper for collapse animation with css for elements with variable and dynamic height", | ||
@@ -57,10 +57,10 @@ "author": { | ||
"devDependencies": { | ||
"@babel/cli": "^7.7.7", | ||
"@babel/core": "^7.7.7", | ||
"@babel/plugin-transform-runtime": "^7.7.6", | ||
"@babel/preset-env": "^7.7.7", | ||
"@babel/preset-react": "^7.7.4", | ||
"@storybook/addon-actions": "^5.2.8", | ||
"@storybook/addon-knobs": "^5.2.8", | ||
"@storybook/react": "^5.2.8", | ||
"@babel/cli": "^7.8.3", | ||
"@babel/core": "^7.8.3", | ||
"@babel/plugin-transform-runtime": "^7.8.3", | ||
"@babel/preset-env": "^7.8.3", | ||
"@babel/preset-react": "^7.8.3", | ||
"@storybook/addon-actions": "^5.3.2", | ||
"@storybook/addon-knobs": "^5.3.2", | ||
"@storybook/react": "^5.3.2", | ||
"@testing-library/jest-dom": "^4.2.4", | ||
@@ -77,4 +77,4 @@ "@testing-library/react": "^9.4.0", | ||
"eslint-config-prettier": "^6.7.0", | ||
"eslint-plugin-import": "^2.19.1", | ||
"eslint-plugin-jest": "^23.3.0", | ||
"eslint-plugin-import": "^2.20.0", | ||
"eslint-plugin-jest": "^23.6.0", | ||
"eslint-plugin-jsx-a11y": "^6.1.1", | ||
@@ -81,0 +81,0 @@ "eslint-plugin-prettier": "^3.1.2", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
27097
0