@dimailn/vuetify 2.7.2-alpha48 → 2.7.2-alpha49

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.
package/dist/vuetify.js CHANGED
@@ -37114,7 +37114,7 @@ function () {
37114
37114
 
37115
37115
  Vuetify.install = _install__WEBPACK_IMPORTED_MODULE_0__["install"];
37116
37116
  Vuetify.installed = false;
37117
- Vuetify.version = "2.7.2-alpha48";
37117
+ Vuetify.version = "2.7.2-alpha49";
37118
37118
  Vuetify.config = {
37119
37119
  silent: false
37120
37120
  };
@@ -43258,9 +43258,24 @@ var __assign = undefined && undefined.__assign || function () {
43258
43258
  genOverlay: function genOverlay() {
43259
43259
  var _this = this;
43260
43260
 
43261
+ var _a, _b, _c, _d;
43262
+
43261
43263
  this.hideScroll();
43262
43264
  if (this.hideOverlay) return;
43263
- if (!this.overlay) this.createOverlay();
43265
+
43266
+ if (!((_b = (_a = this.overlay) === null || _a === void 0 ? void 0 : _a.$el) === null || _b === void 0 ? void 0 : _b.isConnected)) {
43267
+ if (this.overlay) {
43268
+ cancelAnimationFrame(this.animationFrame);
43269
+ var container = (_c = this.overlay.$el) === null || _c === void 0 ? void 0 : _c.parentNode;
43270
+ (_d = this.overlayApp) === null || _d === void 0 ? void 0 : _d.unmount();
43271
+ this.overlayApp = null;
43272
+ if (container === null || container === void 0 ? void 0 : container.parentNode) container.parentNode.removeChild(container);
43273
+ this.overlay = null;
43274
+ }
43275
+
43276
+ this.createOverlay();
43277
+ }
43278
+
43264
43279
  this.animationFrame = requestAnimationFrame(function () {
43265
43280
  if (!_this.overlay) return;
43266
43281
 
@@ -43279,11 +43294,22 @@ var __assign = undefined && undefined.__assign || function () {
43279
43294
  removeOverlay: function removeOverlay(showScroll) {
43280
43295
  var _this = this;
43281
43296
 
43297
+ var _a, _b;
43298
+
43282
43299
  if (showScroll === void 0) {
43283
43300
  showScroll = true;
43284
43301
  }
43285
43302
 
43286
43303
  if (this.overlay) {
43304
+ if (!((_a = this.overlay.$el) === null || _a === void 0 ? void 0 : _a.isConnected)) {
43305
+ cancelAnimationFrame(this.animationFrame);
43306
+ (_b = this.overlayApp) === null || _b === void 0 ? void 0 : _b.unmount();
43307
+ this.overlayApp = null;
43308
+ this.overlay = null;
43309
+ showScroll && this.showScroll();
43310
+ return;
43311
+ }
43312
+
43287
43313
  Object(_util_helpers__WEBPACK_IMPORTED_MODULE_1__["addOnceEventListener"])(this.overlay.$el, 'transitionend', function () {
43288
43314
  var _a;
43289
43315