MCPcopy Create free account
hub / github.com/angular/components / _updateStackingOrder

Method _updateStackingOrder

src/cdk/overlay/overlay-ref.ts:524–528  ·  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

522 * in its original DOM position.
523 */
524 private _updateStackingOrder() {
525 if (!this._config.usePopover && this._host.nextSibling) {
526 this._host.parentNode!.appendChild(this._host);
527 }
528 }
529
530 /** Detaches the backdrop (if any) associated with the overlay. */
531 detachBackdrop(): void {

Callers 1

attachMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected