* 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
()
| 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 { |