Fix a bug with sticky condition in page-content

This commit is contained in:
Konstantinos Triantafyllou 2022-07-18 00:46:58 +03:00
parent 9a03dd9a3d
commit f38c56fa7d
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ export class PageContentComponent implements OnInit, AfterViewInit, OnDestroy {
}
get isStickyActive() {
if(this.header && this.actions) {
if(this.header && this.actions && this.shouldSticky) {
let sticky = (this.headerSticky)?this.header.nativeElement:this.actions.nativeElement;
return UIkit.sticky(sticky).isActive;
} else {