@glomex/glomex-dialog
Advanced tools
Comparing version 1.10.4 to 1.11.0
@@ -368,2 +368,3 @@ const NON_VISIBLE_WIDTH = window.innerWidth < 720 ? 320 : 640; | ||
this._wasInHiddenMode = false; | ||
this._internalModeChange = false; | ||
@@ -375,4 +376,6 @@ this.addEventListener('click', ({ target }) => { | ||
if (this._wasInHiddenMode) { | ||
this._internalModeChange = true; | ||
this.setAttribute('mode', 'hidden'); | ||
} else { | ||
this._internalModeChange = true; | ||
this.setAttribute('mode', 'inline'); | ||
@@ -535,2 +538,3 @@ } | ||
mode: newValue, | ||
internal: this._internalModeChange, | ||
}, | ||
@@ -541,2 +545,3 @@ bubbles: true, | ||
); | ||
this._internalModeChange = false; | ||
} | ||
@@ -543,0 +548,0 @@ |
{ | ||
"name": "@glomex/glomex-dialog", | ||
"version": "1.10.4", | ||
"version": "1.11.0", | ||
"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
102255
834