MOBILE-4362 collapsible: Do not collapse headers if inside a tab outlet

main
Pau Ferrer Ocaña 2023-10-16 13:16:05 +02:00
parent 081172003c
commit 7c5586e87a
1 changed files with 5 additions and 0 deletions

View File

@ -106,6 +106,11 @@ export class CoreCollapsibleHeaderDirective implements OnInit, OnChanges, OnDest
*/ */
ngOnInit(): void { ngOnInit(): void {
this.collapsible = !CoreUtils.isFalseOrZero(this.collapsible); this.collapsible = !CoreUtils.isFalseOrZero(this.collapsible);
if (CoreDom.closest(this.collapsedHeader, 'core-tabs-outlet')) {
this.collapsible = false;
}
this.init(); this.init();
} }