Disable page-content sticky header release when approaching footer.
This commit is contained in:
parent
9939c2707c
commit
9d856f4f7d
|
@ -90,7 +90,8 @@ export class PageContentComponent implements OnInit, AfterViewInit, OnDestroy {
|
||||||
|
|
||||||
ngAfterViewInit() {
|
ngAfterViewInit() {
|
||||||
if (typeof document !== "undefined") {
|
if (typeof document !== "undefined") {
|
||||||
this.observeBottom();
|
// TODO make it smooth
|
||||||
|
// this.observeBottom();
|
||||||
this.observeHeader();
|
this.observeHeader();
|
||||||
this.observeStickyFooter();
|
this.observeStickyFooter();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue