Resize cowebsites when main slot is loaded
This commit is contained in:
parent
ecb72d0fd1
commit
a775a01d2a
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user