diff --git a/src/core/directives/collapsible-header.ts b/src/core/directives/collapsible-header.ts index 01f7b0470..faf83ddbe 100644 --- a/src/core/directives/collapsible-header.ts +++ b/src/core/directives/collapsible-header.ts @@ -399,6 +399,10 @@ export class CoreCollapsibleHeaderDirective implements OnInit, OnChanges, OnDest return; } + if (page.classList.contains('is-frozen')) { + return; + } + const progress = parseFloat(page.style.getPropertyValue('--collapsible-header-progress')); const scrollTop = contentScroll.scrollTop; const collapse = progress > 0.5;