()
| 459 | } |
| 460 | |
| 461 | private getVisibleOverlayFocusRestore(): OverlayFocusRestoreState { |
| 462 | const restoreState = this.overlayFocusRestore; |
| 463 | if (restoreState.status === "inactive") return restoreState; |
| 464 | if (!this.overlayStack.includes(restoreState.overlay) || !this.isOverlayVisible(restoreState.overlay)) { |
| 465 | return { status: "inactive" }; |
| 466 | } |
| 467 | return restoreState; |
| 468 | } |
| 469 | |
| 470 | private isOverlayFocusAncestor(entry: OverlayStackEntry, component: Component): boolean { |
| 471 | const visited = new Set<Component>(); |
no test coverage detected