GitHub two-finger back gesture fix

By kodek · 3 months ago

Restores macOS two-finger back/forward gestures on GitHub file blob pages by removing the code block overscroll-behavior-x override.

Key Highlights

  • Restores macOS two-finger back and forward gestures on GitHub file blob pages.
  • Helps browser history swipes work while viewing GitHub code blocks.
  • Applies to github.com pages matched by the tweek.
  • Designed for the specific overscroll behavior issue on GitHub code views.

Details

This tweek fixes a GitHub-specific annoyance for macOS users: two-finger back and forward swipes can stop working while viewing file blob pages with code blocks. After applying it, browser history gestures work again when navigating GitHub code pages.

It targets github.com and focuses on the code view behavior that interferes with horizontal overscroll. The result is a more predictable GitHub navigation flow when moving between files, repositories, and previous pages using macOS trackpad gestures.

Runs on

1 site

github.com

Developer

Tweek Code

35 lines ·