@proximus/lavender-modal 2.0.0-alpha.41 → 2.0.0-alpha.43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.es.js +2 -2
  2. package/package.json +1 -1
package/dist/index.es.js CHANGED
@@ -106,10 +106,10 @@ class l extends HTMLElement {
106
106
  return t === "success" ? "checkmark_fill" : t === "warning" ? "exclamation_mark_fill" : t === "error" ? "minus_fill" : "information_fill";
107
107
  }
108
108
  show() {
109
- this.$dialog.showModal();
109
+ this.$dialog.showModal(), document.body.style.overflow = "hidden";
110
110
  }
111
111
  close() {
112
- this.$dialog.close(), this.dispatchEvent(
112
+ this.$dialog.close(), document.body.style.overflow = "", this.dispatchEvent(
113
113
  new CustomEvent(c, {
114
114
  bubbles: !0,
115
115
  composed: !0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proximus/lavender-modal",
3
- "version": "2.0.0-alpha.41",
3
+ "version": "2.0.0-alpha.43",
4
4
  "description": "",
5
5
  "main": "dist/index.es.js",
6
6
  "types": "dist/index.d.ts",