@rocketui/vue 0.2.4 → 0.2.6

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.
@@ -9183,7 +9183,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9183
9183
  height: C.height
9184
9184
  }));
9185
9185
  function i(e) {
9186
- C.outsideClick && e.target === e.currentTarget && M("update:modelValue", !1);
9186
+ C.outsideClick && e.target === e.currentTarget && (document.body.style.overflow = "auto", M("update:modelValue", !1));
9187
9187
  }
9188
9188
  return X1(
9189
9189
  () => {
@@ -9193,9 +9193,12 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9193
9193
  ), O2(() => {
9194
9194
  !C.modelValue && C.allowBodyScroll && (document.body.style.overflow = "auto");
9195
9195
  }), window.addEventListener("keydown", (e) => {
9196
- e.key === "Escape" && C.modelValue && C.outsideClick && M("update:modelValue", !1);
9196
+ e.key === "Escape" && C.modelValue && C.outsideClick && (document.body.style.overflow = "auto", M("update:modelValue", !1));
9197
9197
  }), G(() => C.modelValue, (e) => {
9198
9198
  e || (document.body.style.overflow = "auto");
9199
+ }, {
9200
+ deep: !0,
9201
+ immediate: !0
9199
9202
  }), (e, t) => J1((m(), n("div", {
9200
9203
  class: p(["r-modal-overlay", e.overlayClass]),
9201
9204
  onClick: d1(i, ["stop"])