[Bug]: Trackpad scroll momentum in right-sidebar file tabs triggers back navigation at the scroll boundary #33378
Before submitting#
- Searched existing issues. #28160 describes related behavior in the diff panel; this report covers the right-sidebar open-file tab bar and momentum at its scroll boundary.
- Included reproduction details.
Area#
apps/desktop
Steps to reproduce#
- Open the right sidebar and its file browser/editor.
- Open enough files that the row of open-file tabs at the top overflows horizontally.
- Place the pointer over that tab bar and use two fingers on the trackpad to scroll left through the tabs.
- Reach the left end of the tab list while the gesture still has momentum. A light flick can be sufficient; there is no need to deliberately perform a separate back gesture.
- Observe the back-gesture indicator and application back navigation being triggered as the remaining scroll momentum reaches the boundary.
Expected behavior#
The horizontal gesture should remain confined to scrolling the file tabs. Reaching the end of the tab strip, including during inertial scrolling after a light flick, should stop the tab scrolling without turning the remaining momentum into application back navigation.
Actual behavior#
Once the tabs reach the left scroll boundary, the remaining two-finger scroll momentum appears to spill into the application's back gesture. The back indicator appears and back navigation is triggered even though the interaction began as scrolling through open-file tabs. This makes ordinary tab browsing unexpectedly navigate away from the current view.
This is an observed interaction report; the underlying event-handling cause has not been established.
Impact#
Minor bug or occasional failure — ordinary scrolling through open files can unexpectedly navigate away.
Version or commit#
Not collected.
Environment#
macOS; T3 Code; two-finger trackpad horizontal scrolling. Right sidebar file browser/editor open, with multiple open-file tabs overflowing the tab bar.
Screenshots, recordings, or supporting files#
A short MP4 recording was supplied with the report, along with annotated screenshots identifying the file-tabs bar and the back-gesture indicator. The filing tool does not support GitHub attachment uploads, so the media is not attached here.
Related issue#
#28160 — horizontal trackpad scrolling in the diff panel triggers back/forward navigation. This may share a cause, but the specific reproduction here is inertial scrolling reaching the end of the right-sidebar file-tab strip.
Workaround#
No confirmed workaround.
juliusmarminge closed this
Sign in to join this conversation.