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

Issue 2644733003: MD History: Scroll history-items into view when their action menu is opened (Closed)

Created:
3 years, 11 months ago by tsergeant
Modified:
3 years, 11 months ago
Reviewers:
calamity
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, Patrick Dubroy, michaelpg+watch-md-ui_chromium.org, dbeam+watch-history_chromium.org, pam+watch_chromium.org, arv+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MD History: Scroll history-items into view when their action menu is opened It is possible to use keyboard shortcuts to open the action menu of an off-screen history-item. This does not cause any visible change, but prevents scrolling until the (invisible) menu is closed by clicking or pressing escape. This CL fixes this behavior by ensuring that off-screen history-items are scrolled into view when their menu is opened. BUG=639783 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2644733003 Cr-Commit-Position: refs/heads/master@{#444646} Committed: https://chromium.googlesource.com/chromium/src/+/997841c120ef5c64f5ae10392619a88c0462fedd

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -1 line) Patch
M chrome/browser/resources/md_history/app.crisper.js View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/md_history/history_list.js View 2 chunks +14 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (9 generated)
tsergeant
WDYT? I didn't write a test since we're not well equipped to deal with off-screen ...
3 years, 11 months ago (2017-01-19 03:04:26 UTC) #5
calamity
lgtm
3 years, 11 months ago (2017-01-19 04:48:02 UTC) #8
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/2644733003/1
3 years, 11 months ago (2017-01-19 04:50:40 UTC) #10
commit-bot: I haz the power
3 years, 11 months ago (2017-01-19 04:56:09 UTC) #13
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/997841c120ef5c64f5ae10392619...

Powered by Google App Engine
This is Rietveld 408576698