()
| 124 | }, [state.isOpen, popoverRef]); |
| 125 | |
| 126 | let onHoverStart = () => { |
| 127 | // Match useTooltipTrigger: only treat as hovered when the modality is actually a pointer. |
| 128 | if (getInteractionModality() === 'pointer') { |
| 129 | pointerInSafeArea.current = true; |
| 130 | state.open(); |
| 131 | } |
| 132 | }; |
| 133 | |
| 134 | let onHoverEnd = () => { |
| 135 | // Before the preview opens, cancel a pending warmup if the pointer leaves the trigger. Once |
nothing calls this directly
no test coverage detected