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