(index: number)
| 937 | return yoga.getComputedTop() |
| 938 | } |
| 939 | const getMountedItemBottomForClamp = (index: number): number | undefined => { |
| 940 | const yoga = itemRefs.current.get(itemKeys[index]!)?.yogaNode |
| 941 | if (!yoga || yoga.getComputedWidth() === 0) return undefined |
| 942 | return yoga.getComputedTop() + yoga.getComputedHeight() |
| 943 | } |
| 944 | useLayoutEffect(() => { |
| 945 | const liveClampBounds = computeVirtualScrollClampBounds({ |
| 946 | clampEnabled: renderPolicy.clampEnabled, |
no test coverage detected