()
| 48 | let isFocused = useRef(false); |
| 49 | |
| 50 | let handleShow = () => { |
| 51 | if (isHovered.current || isFocused.current) { |
| 52 | state.open(isFocused.current); |
| 53 | } |
| 54 | }; |
| 55 | |
| 56 | let handleHide = (immediate?: boolean) => { |
| 57 | if (!isHovered.current && !isFocused.current) { |
no test coverage detected