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

Issue 2378933004: MD Settings: Skip unseen collapse animation (Closed)

Created:
4 years, 2 months ago by michaelpg
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
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MD Settings: Skip unseen collapse animation Don't play the collapse animation when hiding a page, because: 1. The animation isn't visible, so it's extra work for nothing 2. Messing with the container affects the new page Although another CL[1] beat me to it, this would've also fixed the issue we had navigating from a Settings sub-page to the About page, which used to jump 7.5px horizontally after a timeout due to us manipulating the scrollbar for the animation. [1] https://codereview.chromium.org/2379933003/ BUG=651616 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/53c0cd015ae9b8d7cbf77a44aa8fb42f6ef568ec Cr-Commit-Position: refs/heads/master@{#422285}

Patch Set 1 #

Patch Set 2 : work with about subpage too #

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

Messages

Total messages: 12 (7 generated)
michaelpg
PTAL.
4 years, 2 months ago (2016-09-30 20:53:02 UTC) #4
Dan Beam
lgtm
4 years, 2 months ago (2016-09-30 21:40:39 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2378933004/20001
4 years, 2 months ago (2016-09-30 21:50:37 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-10-01 02:13:50 UTC) #10
commit-bot: I haz the power
4 years, 2 months ago (2016-10-01 02:16:17 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/53c0cd015ae9b8d7cbf77a44aa8fb42f6ef568ec
Cr-Commit-Position: refs/heads/master@{#422285}

Powered by Google App Engine
This is Rietveld 408576698