Skip to content

[6.x] Remove overscroll-behavior-x: contain; on panels#14642

Merged
jasonvarga merged 1 commit into
6.xfrom
fix-native-browser-navigation-gestures
May 11, 2026
Merged

[6.x] Remove overscroll-behavior-x: contain; on panels#14642
jasonvarga merged 1 commit into
6.xfrom
fix-native-browser-navigation-gestures

Conversation

@jaygeorge
Copy link
Copy Markdown
Contributor

Description of the Problem

The UI panel component contains overscroll-x-contain, which disables the browsers default forward/back navigation when hovering over the panel and using a trackpad-like device, even if the panel isn't scrollable.

overscroll-behavior-x: contain;—which prevents scroll chaining for neighboring scrolling areas—may be desirable, but the side effect of disabling native navigation is likely less desirable, especially considering most panels won't be horizontally scrollable anyway.

What this PR Does

How to Reproduce

  1. Go to a page that has the panel such as Collections > some collection
  2. Hover over the panel and use a native navigation gesture such as swipe left to go back
  3. Observe how it will not work when hovering over this UI component

@jaygeorge jaygeorge changed the title Remove overscroll-behavior-x: contain; on panels [6.x] Remove overscroll-behavior-x: contain; on panels May 11, 2026
@jasonvarga jasonvarga merged commit 8101375 into 6.x May 11, 2026
32 of 34 checks passed
@jasonvarga jasonvarga deleted the fix-native-browser-navigation-gestures branch May 11, 2026 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Overscroll behaviour on UI panel stops forward/back navigation

2 participants