GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(web): setting to turn off trackpad swipe navigation by NikhilGaddam · Pull Request #34481 · pingdotgg/t3code

Conversation

@NikhilGaddam

@NikhilGaddam NikhilGaddam commented Nov 11, 2026

Copy link
Copy Markdown

Problem

On macOS, the desktop app goes back or forward when you swipe left or right with two fingers on the trackpad. Some users swipe by accident, or scroll in a way the app reads as a swipe, and then lose their place in a thread. Today the only way to stop this is to turn off the gesture for all of macOS.

Related open reports (this PR does not fix them; it gives affected users a way to turn the gesture off): #30160, #33888, #28160.

Change

Add a client setting, Settings → General → Display → Swipe to navigate. It is on by default, so nothing changes unless a user turns it off. When it is off, HistorySwipeNavigation adds no wheel or trackpad listeners. The row and its search entry show only in the desktop app on macOS, where the gesture works. The setting is part of "Restore defaults". The keybindings guide mentions it next to navigation.back and navigation.forward.

Scope and approval

This is a focused configuration option for an established capability (CONTRIBUTING, "Establish the problem and scope first"):

  • Existing capability: two-finger trackpad swipe navigation in the macOS desktop app (feat(desktop): back/forward buttons and trackpad swipe navigation #27430).
  • What the option controls: only whether that gesture is active. The back and forward buttons and the navigation.back / navigation.forward shortcuts do not change.
  • Why the scope stays within that capability: the default keeps current behavior. The option adds no new workflow and does not change how the gesture detects a swipe.

Verification

  • vp test run apps/web/src/components/HistorySwipeNavigation.browser.test.tsx apps/web/src/components/HistorySwipeNavigation.test.ts apps/web/src/components/settings/settingsSearch.test.ts packages/contracts/src/settings.test.ts: 69 tests passed.
  • The new browser test row ("a swipe with swipe navigation turned off keeps the thread") fails when the setting check is removed and passes with it.
  • vp run check:changed: format, lint, knip, typecheck, tests and react compiler pass.
  • Before/after screenshots of the General settings page in the macOS desktop app: to follow in a comment.
  • Manual check on macOS (swipe navigates when on, does nothing when off): to follow in a comment.

Model and harness: Claude Opus 5.5 in Claude Code (T3 Code).

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@NikhilGaddam
feat(web): setting to turn off trackpad swipe navigation
5d12160
Add Settings → General → Display → Swipe to navigate (desktop, macOS). It is on by default, so behavior does not change unless a user turns it off.
@github-actions github-actions Bot added vouch:unvouched Author is not yet trusted in the VOUCHED list. size:M 30-99 changed lines (additions + deletions). labels Nov 11, 2026
macroscopeapp[bot]
macroscopeapp Bot approved these changes Nov 11, 2026
View reviewed changes
@macroscopeapp

macroscopeapp Bot commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved at 5d12160

Macroscope's review found this PR approvable — Adds a macOS desktop setting to turn off trackpad swipe navigation while keeping it enabled by default. The change is limited to a reversible navigation preference and its settings UI.

You can add or adjust custom eligibility rules. Learn more.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge

juliusmarminge commented Nov 11, 2026

Copy link
Copy Markdown
Member

Thanks for this. #28370 makes the same change and is the one being kept.

#28370 adds the same default-on setting and also removes the swipe indicator when the option is turned off during a gesture. That makes it the more complete version to carry forward.

Your macOS-only visibility and keybindings guidance are useful refinements that could be brought into the kept PR. The underlying accidental-navigation reports remain relevant; the setting provides an opt-out rather than correcting gesture detection.

Closing as a duplicate.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge juliusmarminge closed this Nov 11, 2026
@NikhilGaddam NikhilGaddam mentioned this pull request Nov 11, 2026
feat(web): add a setting to disable history swipe navigation #28370
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@macroscopeapp macroscopeapp[bot] macroscopeapp[bot] approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size:M 30-99 changed lines (additions + deletions). vouch:unvouched Author is not yet trusted in the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@NikhilGaddam @juliusmarminge
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.