Comparing version 11.5.2 to 11.5.3
@@ -37,7 +37,8 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; | ||
if (!active) { | ||
mergedStyle.visibility = 'hidden'; | ||
if (!animated) { | ||
if (animated) { | ||
mergedStyle.visibility = 'hidden'; | ||
mergedStyle.height = 0; | ||
mergedStyle.overflowY = 'hidden'; | ||
} else { | ||
mergedStyle.display = 'none'; | ||
} | ||
@@ -44,0 +45,0 @@ } |
@@ -51,7 +51,8 @@ "use strict"; | ||
if (!active) { | ||
mergedStyle.visibility = 'hidden'; | ||
if (!animated) { | ||
if (animated) { | ||
mergedStyle.visibility = 'hidden'; | ||
mergedStyle.height = 0; | ||
mergedStyle.overflowY = 'hidden'; | ||
} else { | ||
mergedStyle.display = 'none'; | ||
} | ||
@@ -58,0 +59,0 @@ } |
{ | ||
"name": "rc-tabs", | ||
"version": "11.5.2", | ||
"version": "11.5.3", | ||
"description": "tabs ui component for react", | ||
@@ -5,0 +5,0 @@ "engines": { |
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
136405
3220