(e: KeyboardEvent)
| 129 | pointerDownRef.current = false |
| 130 | } |
| 131 | const onKeyDown = (e: KeyboardEvent) => { |
| 132 | if (SCROLL_UP_KEYS.has(e.key) || (e.key === ' ' && e.shiftKey)) { |
| 133 | lastUserGestureAtRef.current = performance.now() |
| 134 | } |
| 135 | } |
| 136 | |
| 137 | /** |
| 138 | * Re-engages when the user returns near the bottom, and detaches on an upward |