@glomex/glomex-dialog
Advanced tools
Comparing version 1.9.6 to 1.9.7
@@ -440,5 +440,3 @@ const NON_VISIBLE_WIDTH = window.innerWidth < 720 ? 320 : 640; | ||
} else { | ||
// default mode is "inline" | ||
this.setAttribute('mode', 'inline'); | ||
return; | ||
this._wasInHiddenMode = false; | ||
} | ||
@@ -450,2 +448,3 @@ | ||
window.document.body.style.overflow = null; | ||
dialogContent.removeAttribute('tabindex'); | ||
} | ||
@@ -452,0 +451,0 @@ |
@@ -27,2 +27,3 @@ # glomex-dialog | ||
mode: "hidden" | "inline" | "dock" | "lightbox" | ||
| "custom-value" (which behaves like inline) | ||
--> | ||
@@ -70,2 +71,3 @@ <glomex-dialog mode="inline"> | ||
<option value="lightbox">lightbox</option> | ||
<option value="custom-value">custom-value</option> | ||
</select> | ||
@@ -72,0 +74,0 @@ <button onClick=${onButtonClick} class="button">Switch Dialog Mode</button> |
{ | ||
"name": "@glomex/glomex-dialog", | ||
"version": "1.9.6", | ||
"version": "1.9.7", | ||
"description": "A dialog web component that allows docking a video player or putting it in a lightbox", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -27,2 +27,3 @@ # glomex-dialog | ||
mode: "hidden" | "inline" | "dock" | "lightbox" | ||
| "custom-value" (which behaves like inline) | ||
--> | ||
@@ -70,2 +71,3 @@ <glomex-dialog mode="inline"> | ||
<option value="lightbox">lightbox</option> | ||
<option value="custom-value">custom-value</option> | ||
</select> | ||
@@ -72,0 +74,0 @@ <button onClick=${onButtonClick} class="button">Switch Dialog Mode</button> |
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
98707
631
752