fix(tcp): prevent panel scroll when wheeling volume ruler

React onWheel is passive so e.preventDefault() was a no-op, letting the
TCP panel scroll and the ruler slip away from the cursor (no snap).
Add native non-passive capture listener that preventDefault()s wheel
events starting on [data-sf-wheel] ruler containers.
This commit is contained in:
2026-08-19 15:05:37 +07:00
parent 2f5c70ac29
commit 927597a822
2 changed files with 17 additions and 7 deletions
File diff suppressed because one or more lines are too long