From 766284c6cc1ac07c5a33ee351f10ab2c40725b98 Mon Sep 17 00:00:00 2001 From: Thorn Walli Date: Sun, 10 May 2020 21:14:58 +0200 Subject: [PATCH] fix(window): fix window-wrapper size --- src/components/environments/WindowWrapper.vue | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/components/environments/WindowWrapper.vue b/src/components/environments/WindowWrapper.vue index 59cd967ec..2729f0997 100644 --- a/src/components/environments/WindowWrapper.vue +++ b/src/components/environments/WindowWrapper.vue @@ -87,8 +87,13 @@ export default { } }, watch: { - parentLayout () { - this.onResize(); + parentLayout: { + deep: true, + handler () { + this.$nextTick(() => { + this.onResize(); + }); + } }, contentLayoutSize (size) { this.wrapper.layout.size = size;