()
| 57 | }; |
| 58 | |
| 59 | const onScroll = () => { |
| 60 | setIsScrolling(true); |
| 61 | |
| 62 | if (!supportsScrollEnd) { |
| 63 | lastScrollTime = performance.now(); |
| 64 | if (animationFrameId === undefined) { |
| 65 | animationFrameId = |
| 66 | ownerWindow.requestAnimationFrame(checkForScrollEnd); |
| 67 | } |
| 68 | } |
| 69 | }; |
| 70 | |
| 71 | const onScrollEnd = () => { |
| 72 | setIsScrolling(false); |
nothing calls this directly
no outgoing calls
no test coverage detected