The transform of `.anchorFixedHeader` introduces a new stacking context which will cause `position: fixed` inside to be relative to the container, instead of the document.
_button.children[0].classList.toggle('fa-compress');
_button.children[0].classList.toggle('fa-expand');
+ var anchorFixedHeader = elClosest(this.core.box()[0], '.anchorFixedHeader');
+ if (anchorFixedHeader) anchorFixedHeader.classList.toggle('disableAnchorFixedHeader');
+
if (this.core.box()[0].classList.toggle('redactorBoxFullscreen')) {
WCF.System.DisableScrolling.disable();
_active = true;
}
}
- > .anchorFixedHeader:target {
+ > .anchorFixedHeader:not(.disableAnchorFixedHeader):target {
margin-top: -49px;
pointer-events: none;
position: relative;