(min, max)
| 191 | return () => listenersRef.current.delete(listener); |
| 192 | }, |
| 193 | setClampBounds(min, max) { |
| 194 | const el = domRef.current; |
| 195 | if (!el) return; |
| 196 | el.scrollClampMin = min; |
| 197 | el.scrollClampMax = max; |
| 198 | } |
| 199 | }), |
| 200 | // notify/scrollMutated are inline (no useCallback) but only close over |
| 201 | // refs + imports — stable. Empty deps avoids rebuilding the handle on |
nothing calls this directly
no outgoing calls
no test coverage detected