You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(tabs): follow-ups from the wheel-scroll review (#2095) #2103
Follow-up to #2095 (non-blocking findings from the merge pass's review).
Diagonal trackpad input can move the strip the wrong way (src/components/TabStrip.tsx, wheel handler): a vertical-dominant event that also carries horizontal motion is cancelled and translated from deltaY alone. At scrollLeft=400, deltaX=-20, deltaY=40 moves the strip to 440, opposite to the swipe's horizontal part. Reproduced by Codex in a component unit fixture. Suggested: leave events with deltaX !== 0 to the browser, and cover vertical-dominant diagonals with matching and opposing signs.
Fragile rebinding: the wheel listener is reattached only when [shown, tabsHidden, end === undefined] changes; a callback ref would survive a future wrapper element.
Firefox line-mode branch runs less often than the comment says (deltaY is read before deltaMode).
Wheel at the strip's end is still cancelled, so a future scrolling parent would not get it.
Activity
fix(chat): keep folds, unconfirmed text and diagonal swipes right (de…
feat(header): list tabs that do not fit behind a More button instead …