@glomex/glomex-dialog
Advanced tools
Comparing version 1.9.1 to 1.9.2
@@ -198,4 +198,9 @@ const NON_VISIBLE_WIDTH = window.innerWidth < 720 ? 320 : 640; | ||
left: 0; | ||
will-change: transform, width, height, top, left; | ||
} | ||
.dialog-inverse-scale-element { | ||
will-change: transform, width, height, top, left; | ||
} | ||
.drag-handle { | ||
@@ -637,6 +642,9 @@ position: absolute; | ||
disconnectListeners(); | ||
element.style.pointerEvents = null; | ||
// reset scrolling | ||
window.document.body.style.height = null; | ||
window.document.body.style.overflow = null; | ||
document.body.removeChild(pageOverlay); | ||
if (pageOverlay.parentNode === document.body) { | ||
document.body.removeChild(pageOverlay); | ||
} | ||
setTimeout(() => { | ||
@@ -651,2 +659,5 @@ element.isDragging = false; | ||
element.isDragging = true; | ||
// prevent mousemove events to be swallowed when glomex-dialog | ||
// has an iframe as child | ||
element.style.pointerEvents = 'none'; | ||
// prevent scrolling | ||
@@ -653,0 +664,0 @@ window.document.body.style.height = '100%'; |
{ | ||
"name": "@glomex/glomex-dialog", | ||
"version": "1.9.1", | ||
"version": "1.9.2", | ||
"description": "A dialog web component that allows docking a video player or putting it in a lightbox", | ||
@@ -5,0 +5,0 @@ "type": "module", |
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
98486
757