Files
t3code/apps
Cursor Agent 9bf6ec74c1 fix: attach wheel handler with { passive: false } to enable preventDefault
React 17+ registers onWheel handlers as passive by default, making
event.preventDefault() a no-op. This caused vertical-to-horizontal
scroll conversion on the turn chip strip to fail silently.

Replaced the React onWheel JSX prop with a useEffect that attaches
the handler via addEventListener('wheel', handler, { passive: false })
on the ref element directly.
2026-02-19 09:20:06 +00:00
..