Toolbar buttons don't move in when unfocusing omnibox |
||||
Issue descriptionWhen focusing the omnibox, the toolbar buttons (tab switcher / overflow menu button) move away to the side as the omnibox expands. When the omnibox is unfocused though, they suddenly appear again without an animation.
,
Jul 1 2016
,
Jul 1 2016
,
Jul 6 2016
Before and after videos for https://codereview.chromium.org/2121283002/ .
,
Jul 7 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/56e3c638ef1575429a2ecd5a19ddd069ba42892b commit 56e3c638ef1575429a2ecd5a19ddd069ba42892b Author: peconn <peconn@chromium.org> Date: Thu Jul 07 09:25:29 2016 Reset translation of toolbar_buttons for Url Defocus Animation. The mToolbarButtonsContainer has its translationY modified during scroll so when the user scrolls on the NTP, it appears to scroll too. However during the URL focus and defocus animations it should not be touched. Unfortunately updateNtpTransitionAnimation() is called a few times after the URL focus animation has been completed while mUrlFocusChangeInProgress is set to false, causing translationY to be non-zero at the end. We reset the translationY here so the mToolbarButtonsContainer is on screen for the defocusing animation. BUG= 623885 Review-Url: https://codereview.chromium.org/2121283002 Cr-Commit-Position: refs/heads/master@{#404113} [modify] https://crrev.com/56e3c638ef1575429a2ecd5a19ddd069ba42892b/chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarPhone.java
,
Jul 7 2016
,
Jul 7 2016
Thanks Pete! LGTM.
,
Jul 8 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/a53cd10e4514d39102713e77bd9fa56ed2c9d15b commit a53cd10e4514d39102713e77bd9fa56ed2c9d15b Author: peconn <peconn@chromium.org> Date: Fri Jul 08 16:44:02 2016 Set translation of toolbar buttons on Url Animations. This is a refinement of https://codereview.chromium.org/2121283002/ , which behaves correctly when url focus animations occur when the new tab page is partially scrolled. BUG= 623885 Review-Url: https://codereview.chromium.org/2132043002 Cr-Commit-Position: refs/heads/master@{#404409} [modify] https://crrev.com/a53cd10e4514d39102713e77bd9fa56ed2c9d15b/chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarPhone.java |
||||
►
Sign in to add a comment |
||||
Comment 1 by nepper@chromium.org
, Jun 28 2016Status: Available (was: Untriaged)