@react-aria/virtualizer
Advanced tools
Comparing version 3.3.2-nightly.2626 to 3.3.2-nightly.2631
@@ -328,3 +328,8 @@ var { | ||
function $f82ecd66628117a18b18263690e81$var$getSize(node) { | ||
return new Size(node.scrollWidth, node.scrollHeight); | ||
// Reset height before measuring so we get the intrinsic size | ||
let height = node.style.height; | ||
node.style.height = ''; | ||
let size = new Size(node.scrollWidth, node.scrollHeight); | ||
node.style.height = height; | ||
return size; | ||
} | ||
@@ -331,0 +336,0 @@ |
@@ -283,3 +283,8 @@ import { useLocale } from "@react-aria/i18n"; | ||
function $e57f55a74c4282479f23b22163a$var$getSize(node) { | ||
return new Size(node.scrollWidth, node.scrollHeight); | ||
// Reset height before measuring so we get the intrinsic size | ||
let height = node.style.height; | ||
node.style.height = ''; | ||
let size = new Size(node.scrollWidth, node.scrollHeight); | ||
node.style.height = height; | ||
return size; | ||
} | ||
@@ -286,0 +291,0 @@ |
{ | ||
"name": "@react-aria/virtualizer", | ||
"version": "3.3.2-nightly.2626+df2f596b", | ||
"version": "3.3.2-nightly.2631+efbc96af", | ||
"description": "Spectrum UI components in React", | ||
@@ -21,6 +21,6 @@ "license": "Apache-2.0", | ||
"@babel/runtime": "^7.6.2", | ||
"@react-aria/i18n": "3.0.0-nightly.948+df2f596b", | ||
"@react-aria/utils": "3.0.0-nightly.948+df2f596b", | ||
"@react-stately/virtualizer": "3.1.3-nightly.2626+df2f596b", | ||
"@react-types/shared": "3.0.0-nightly.948+df2f596b" | ||
"@react-aria/i18n": "3.0.0-nightly.953+efbc96af", | ||
"@react-aria/utils": "3.0.0-nightly.953+efbc96af", | ||
"@react-stately/virtualizer": "3.1.3-nightly.2631+efbc96af", | ||
"@react-types/shared": "3.0.0-nightly.953+efbc96af" | ||
}, | ||
@@ -34,3 +34,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "df2f596bd62ba33c88e76f7093411d6a77b36a7f" | ||
"gitHead": "efbc96af731b0820a50731049fabc17d20536edd" | ||
} |
@@ -40,3 +40,8 @@ /* | ||
function getSize(node: HTMLElement) { | ||
return new Size(node.scrollWidth, node.scrollHeight); | ||
// Reset height before measuring so we get the intrinsic size | ||
let height = node.style.height; | ||
node.style.height = ''; | ||
let size = new Size(node.scrollWidth, node.scrollHeight); | ||
node.style.height = height; | ||
return size; | ||
} |
Sorry, the diff of this file is not supported yet
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
144578
1499