MCPcopy Index your code
hub / github.com/angular/components / _updateStackingOrder

Method _updateStackingOrder

src/cdk/overlay/overlay-ref.ts:497–501  ·  view source on GitHub ↗

* Updates the stacking order of the element, moving it to the top if necessary. * This is required in cases where one overlay was detached, while another one, * that should be behind it, was destroyed. The next time both of them are opened, * the stacking will be wrong, because the detached

()

Source from the content-addressed store, hash-verified

495 * in its original DOM position.
496 */
497 private _updateStackingOrder() {
498 if (!this._config.usePopover && this._host.nextSibling) {
499 this._host.parentNode!.appendChild(this._host);
500 }
501 }
502
503 /** Detaches the backdrop (if any) associated with the overlay. */
504 detachBackdrop(): void {

Callers 1

attachMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected