# ScrollMapping

> _Since v2.13.0_

Mapping between native `scrollTop` (clamped spacer space) and "virtual" scroll
position (raw row-content space). See computeScrollMapping.

## Properties

| Property | Type | Description |
| -------- | ---- | ----------- |
| `rawContentHeight` | <code>number</code> | Raw row-content height in pixels (totalRows * rowHeight or sum of variable heights). |
| `spacerHeight` | <code>number</code> | Effective spacer DOM height — `min(rawContentHeight, maxSpacerHeight)`. |
| `viewportHeight` | <code>number</code> | Viewport height used for computing scrollable extents. |
| `capped` | <code>boolean</code> | True when `rawContentHeight > maxSpacerHeight` — fractional mapping is active. |
