New issue
Advanced search Search tips

Issue 921718 link

Starred by 1 user

Issue metadata

Status: Started
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug

Blocking:
issue 865567



Sign in to add a comment

Implement overscroll-behavior for Android for Gesture Navigation

Project Member Reported by sunyunjia@chromium.org, Jan 14

Issue description

Since we are working on OverscrollHistoryNavigation on Android, we should implement overscroll-behavior to control the navigation on Android as well.
 
Hi Sandra, could you let me know what it overscroll-behavior (and x/y variation) is like now for Android? 

I'm asking this because |root_overflow_y_hidden| in compositor_frame_metadata.h https://cs.chromium.org/chromium/src/components/viz/common/quads/compositor_frame_metadata.h?q=compositor_frame_meta&sq=package:chromium&g=0&l=156 seems always set to zero regardless of the presence of overscroll-behavior specified in css (same for x, for that matter). Is this a part of the issue you have in mind?

Comment 2 by sunyunjia@google.com, Jan 16 (6 days ago)

Currently, overscroll-behavior on Android controls the behavior of overscroll-refresh and overscroll-glow. https://cs.chromium.org/chromium/src/content/browser/android/overscroll_controller_android.cc?l=223

overscroll-behavior-y is none, no glow and no refresh
overscroll-behavior-y is contain, only glow and no refresh
overscroll-behacior-y is auto, glow or refresh depending on the behavior.

As we are working on OverscrollHistoryNavigation, we should implement overscroll-behavior-x for it as well. i.e. when overscroll-behavior-x is none, no navigation should happen.

Comment 3 by jinsuk...@chromium.org, Today (23 hours ago)

Owner: jinsuk...@chromium.org
Status: Started (was: Untriaged)

Sign in to add a comment