-
Daniel Hosseinian authored
1) Use a new method focusAndScroll() on thumbnails that disables the default scrolling behavior of focus() and uses scrollIntoView() instead. That way the scrolling behavior of focused and active thumbnails are unified. 2) Add a top padding to the first thumbnail so the box shadow is shown when the thumbnail is scrolled into view. 3) Remove the opacity transition on thumbnails, which was causing some flashing to occur while scrolling through the active thumbnail quickly using the keyboard. Bug: 652400 Change-Id: Ie8b26c670b03b4829444215d184e54e39f344924 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2441936Reviewed-by:
dpapad <dpapad@chromium.org> Commit-Queue: Daniel Hosseinian <dhoss@chromium.org> Cr-Commit-Position: refs/heads/master@{#812581}
a3f20a62