Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(232)

Issue 2211403003: [MD settings] remove overscroll in subpages (Closed)

Created:
4 years, 4 months ago by dschuyler
Modified:
4 years, 2 months ago
Reviewers:
Dan Beam
CC:
chromium-reviews, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org, arv+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[MD settings] remove overscroll in subpages This CL removes the overscroll while viewing a subpage. BUG=634582 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

Patch Set 1 #

Patch Set 2 : changed to hidden #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -3 lines) Patch
M chrome/browser/resources/settings/settings_main/settings_main.html View 1 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/resources/settings/settings_main/settings_main.js View 1 chunk +1 line, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 16 (11 generated)
dschuyler
4 years, 4 months ago (2016-08-05 16:14:09 UTC) #6
Dan Beam
does this work well when navigating to a subpage with overscroll and then going back?
4 years, 4 months ago (2016-08-05 17:33:19 UTC) #9
dschuyler
On 2016/08/05 17:33:19, Dan Beam wrote: > does this work well when navigating to a ...
4 years, 4 months ago (2016-08-05 17:44:33 UTC) #12
Dan Beam
i don't really think this is what we want, because the overscroll is removed before ...
4 years, 4 months ago (2016-08-06 00:09:14 UTC) #15
michaelpg
4 years, 4 months ago (2016-08-08 18:36:41 UTC) #16
On 2016/08/06 00:09:14, Dan Beam wrote:
> i don't really think this is what we want, because the overscroll is removed
> before the page has had enough time to animate to full height.

yeah. In my (closed to split up into smaller CLs) CL here you can see how I
dealt with this by adding events to disable/re-enable overscroll changes:
https://codereview.chromium.org/2106013002/diff/320001/chrome/browser/resourc...

Not sure if that's the right solution, but yeah -- in general overscroll changes
shouldn't be allowed to make the page *jump*.

Powered by Google App Engine
This is Rietveld 408576698