(node: HTMLDivElement | null)
| 215 | const scrollRef = useRef<HTMLDivElement | null>(null); |
| 216 | const detachDrag = useRef<() => void>(); |
| 217 | const setScrollRef = (node: HTMLDivElement | null) => { |
| 218 | scrollRef.current = node; |
| 219 | scrollFadeRef(node); |
| 220 | }; |
| 221 | // Radix mounts the content from its own open state, not from a render |
| 222 | // of this wrapper, so an effect here can run before the panel exists. |
| 223 | // The ref callback sees the node the moment it arrives. Stable, or |
nothing calls this directly
no outgoing calls
no test coverage detected