diff --git a/front/src/WebRtc/CoWebsiteManager.ts b/front/src/WebRtc/CoWebsiteManager.ts index ac4281ff..3bfaa5f7 100644 --- a/front/src/WebRtc/CoWebsiteManager.ts +++ b/front/src/WebRtc/CoWebsiteManager.ts @@ -234,6 +234,9 @@ class CoWebsiteManager { this.openedMain = iframeStates.loading; } private openMain(): void { + this.cowebsiteDom.addEventListener("transitionend", () => { + this.resizeAllIframes(); + }); this.cowebsiteDom.classList.remove("loading", "hidden"); //edit the css class to trigger the transition this.openedMain = iframeStates.opened; this.resetStyleMain();