diff --git a/libs/angular/package.json b/libs/angular/package.json index 6bb4302..c6fba17 100644 --- a/libs/angular/package.json +++ b/libs/angular/package.json @@ -1,6 +1,6 @@ { "name": "@berg-layout/angular", - "version": "7.0.1", + "version": "7.0.2", "license": "MIT", "keywords": [ "layout", diff --git a/libs/core/package.json b/libs/core/package.json index 0dbe3cf..4626b56 100644 --- a/libs/core/package.json +++ b/libs/core/package.json @@ -1,6 +1,6 @@ { "name": "@berg-layout/core", - "version": "7.0.1", + "version": "7.0.2", "license": "MIT", "keywords": [ "layout", diff --git a/libs/core/src/lib/components/panel/panel.ts b/libs/core/src/lib/components/panel/panel.ts index 19604eb..fcf8296 100644 --- a/libs/core/src/lib/components/panel/panel.ts +++ b/libs/core/src/lib/components/panel/panel.ts @@ -289,7 +289,9 @@ export class BergPanelElement extends WebComponent { } else { this.timeouts.push( setTimeout(() => { - this.layout.shadowRoot?.removeChild(backdrop); + if (this.layout.shadowRoot?.contains(backdrop)) { + this.layout.shadowRoot.removeChild(backdrop); + } }, BERG_PANEL_BACKDROP_ANIMATION_DURATION) ); } diff --git a/libs/react/package.json b/libs/react/package.json index f90ab3e..e9db00d 100644 --- a/libs/react/package.json +++ b/libs/react/package.json @@ -1,6 +1,6 @@ { "name": "@berg-layout/react", - "version": "7.0.1", + "version": "7.0.2", "license": "MIT", "keywords": [ "layout",