Merge pull request #3821 from crazyserver/MOBILE-4362

MOBILE-4362 collapsible: Do not collapse headers if inside a tab outlet
main
Noel De Martin 2023-10-16 14:21:47 +02:00 committed by GitHub
commit 2019283bd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

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