rc-dialog
Advanced tools
Comparing version 9.5.1 to 9.5.2
@@ -35,3 +35,3 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
var elementOffset = offset(dialogRef.current); | ||
setTransformOrigin(mousePosition !== null && mousePosition !== void 0 && mousePosition.x && mousePosition !== null && mousePosition !== void 0 && mousePosition.y ? "".concat(mousePosition.x - elementOffset.left, "px ").concat(mousePosition.y - elementOffset.top, "px") : ''); | ||
setTransformOrigin(mousePosition && (mousePosition.x || mousePosition.y) ? "".concat(mousePosition.x - elementOffset.left, "px ").concat(mousePosition.y - elementOffset.top, "px") : ''); | ||
} | ||
@@ -38,0 +38,0 @@ |
@@ -45,3 +45,3 @@ "use strict"; | ||
var elementOffset = (0, _util.offset)(dialogRef.current); | ||
setTransformOrigin(mousePosition !== null && mousePosition !== void 0 && mousePosition.x && mousePosition !== null && mousePosition !== void 0 && mousePosition.y ? "".concat(mousePosition.x - elementOffset.left, "px ").concat(mousePosition.y - elementOffset.top, "px") : ''); | ||
setTransformOrigin(mousePosition && (mousePosition.x || mousePosition.y) ? "".concat(mousePosition.x - elementOffset.left, "px ").concat(mousePosition.y - elementOffset.top, "px") : ''); | ||
} | ||
@@ -48,0 +48,0 @@ |
{ | ||
"name": "rc-dialog", | ||
"version": "9.5.1", | ||
"version": "9.5.2", | ||
"description": "dialog ui component for react", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
77701