Skip to content
Source
Sign inSign up
pingdotgg/t3code

Add a setting to disable trackpad swipe gestures for back and forward navigation #28023

Closedcvpcasada(GitHub profile, opens in a new tab) opened this issue 0 comments

What happened

Touchpad scrolling sometimes triggers back navigation when I only mean to scroll content. This affects multiple panels and views with their own scroll areas, particularly horizontal scrolling.

Please add a setting to disable swipe back/forward navigation across T3 Code. Turning it off should preserve normal scrolling, keyboard shortcuts, and navigation buttons.

Diagnosis

This is a request for control over gesture navigation. Searches of open and closed issues did not find a matching request.

Desktop back/forward buttons and two-finger trackpad swipe navigation were added in PR #27430, merged on October 30, 2026, as commit 476590d0ad. This is the relevant upstream implementation; it has not been confirmed against the affected client build.

The change mounts HistorySwipeNavigation for Electron without a preference to disable it. Its horizontal-scroll guard allows normal scrolling when a target or ancestor can still scroll in the gesture's direction. A gesture starting at a horizontal scroll boundary can therefore qualify for navigation if the remaining conditions are met. This is a source observation, not a confirmed reproduction of the reported behavior.

Steps to reproduce

  1. Open a panel or view with horizontally scrollable content.
  2. Scroll horizontally using a touchpad.
  3. Navigation can trigger instead of the intended scrolling.

Version

Affected client version unknown. Local server reports 0.1.6-nightly.20261031.3956.

Environment

Local machine: macOS, Apple Silicon. Desktop app versus browser remains unconfirmed.

Evidence

User report plus inspection of the merged change; no recording or independent reproduction collected.

  • #27430: merged addition of desktop navigation buttons and trackpad swipe navigation; the primary reference for this request.
  • #13212: keyboard back/forward navigation was added earlier, on September 23, 2026, in commit 829af7b73a. The requested setting would preserve these shortcuts.
  • Earlier related open PRs: #9779 and #25188. Neither requests a setting to disable gestures.

Fix applied or workaround

None.

Filed by

Written with Codex using OpenAI GPT-6 (context size unavailable).

Sign in to join this conversation.