()
| 92 | |
| 93 | // Only hide the overlay when it is the topmost visible overlay in the stack |
| 94 | let onHide = () => { |
| 95 | if (visibleOverlays[visibleOverlays.length - 1] === ref && onClose) { |
| 96 | onClose(); |
| 97 | } |
| 98 | }; |
| 99 | |
| 100 | let onInteractOutsideStart = (e: PointerEvent) => { |
| 101 | const topMostOverlay = visibleOverlays[visibleOverlays.length - 1]; |
no outgoing calls
no test coverage detected