chore(): sync with main

This commit is contained in:
Liam DeBeasi
2023-03-01 11:22:56 -05:00
74 changed files with 845 additions and 711 deletions

View File

@ -151,6 +151,16 @@ export class Content implements ComponentInterface {
}
this.resizeTimeout = setTimeout(() => {
/**
* Resize should only happen
* if the content is visible.
* When the content is hidden
* then offsetParent will be null.
*/
if (this.el.offsetParent === null) {
return;
}
this.resize();
}, 100);
}