@radix-ui/react-popper
Advanced tools
Comparing version 1.1.4-rc.1 to 1.1.4-rc.2
@@ -203,3 +203,10 @@ var $50Iv9$babelruntimehelpersextends = require("@babel/runtime/helpers/extends"); | ||
(_middlewareData$trans2 = middlewareData.transformOrigin) === null || _middlewareData$trans2 === void 0 ? void 0 : _middlewareData$trans2.y | ||
].join(' ') | ||
].join(' '), | ||
// hide the content if using the hide middleware and should be hidden | ||
// set visibility to hidden and disable pointer events so the UI behaves | ||
// as if the PopperContent isn't there at all | ||
...((_middlewareData$hide = middlewareData.hide) === null || _middlewareData$hide === void 0 ? void 0 : _middlewareData$hide.referenceHidden) && { | ||
visibility: 'hidden', | ||
pointerEvents: 'none' | ||
} | ||
} // Floating UI interally calculates logical alignment based the `dir` attribute on | ||
@@ -224,5 +231,3 @@ , | ||
// we prevent animations so that users's animation don't kick in too early referring wrong sides | ||
animation: !isPositioned ? 'none' : undefined, | ||
// hide the content if using the hide middleware and should be hidden | ||
visibility: (_middlewareData$hide = middlewareData.hide) !== null && _middlewareData$hide !== void 0 && _middlewareData$hide.referenceHidden ? 'hidden' : undefined | ||
animation: !isPositioned ? 'none' : undefined | ||
} | ||
@@ -229,0 +234,0 @@ })))); |
{ | ||
"name": "@radix-ui/react-popper", | ||
"version": "1.1.4-rc.1", | ||
"version": "1.1.4-rc.2", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "exports": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
105617
692