You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The element’s computed value of the position property is fixed and no ancestor establishes a fixed position containing block.
Sure, the root element won't be a scroll container because of overflow propagation, so removing the early return will typically result in null anyways.
However, if the root is an open shadow host, then the body could be assigned to a slot which is a scroll container. In that case I think scrollParent should be the slot, not null.