Support touchpad horizontal scroll for browser tab back/forward navigation

Open 💬 0 comments Opened May 15, 2026 by joshka

Summary

The Codex app browser tab should support back/forward navigation from horizontal mouse-wheel or touchpad scroll gestures, such as a two-finger left/right swipe on a trackpad.

Expected behavior

When focus is in a browser tab with navigation history:

  • two-finger swipe/drag left navigates back
  • two-finger swipe/drag right navigates forward
  • equivalent horizontal mouse-wheel events behave the same way

This matches long-standing behavior in major browsers and makes the embedded browser feel native.

Current behavior

The browser tab does not appear to handle these horizontal scroll gestures for history navigation.

Notes

This should only trigger when the embedded browser view has navigation history and the gesture is not being consumed by horizontally scrollable page content.

View original on GitHub ↗