MOBILE-3814 collapsible: Check frozen state before end the transition
parent
0616f79df9
commit
0d82115364
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue