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

Issue 2464873003: WebUI: Return focus to anchor element when cr-action-menu is closed. (Closed)

Created:
4 years, 1 month ago by dpapad
Modified:
4 years, 1 month ago
Reviewers:
Dan Beam, michaelpg
CC:
chromium-reviews, dbeam+watch-elements_chromium.org, michaelpg+watch-elements_chromium.org, oshima+watch_chromium.org, stevenjb+watch-md-settings_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

WebUI: Return focus to anchor element when cr-action-menu is closed. The default <dialog> restore focus behavior is not very intuitive (or clear) and certainly does not match the user's expectation when an action menu is closed. Action menu should define its own behavior that matches user's focus expectations, instead of just relying on <dialog>'s behavior. BUG=659567 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/140f168199593fafe11b6a568cdfa99b4d1c9bda Cr-Commit-Position: refs/heads/master@{#429468}

Patch Set 1 #

Patch Set 2 : Add test. #

Patch Set 3 : Fix closure #

Patch Set 4 : Rebase #

Patch Set 5 : Remove dangling reference. #

Patch Set 6 : Resolve conflicts. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -9 lines) Patch
M chrome/test/data/webui/cr_elements/cr_action_menu_test.js View 1 1 chunk +17 lines, -6 lines 0 comments Download
M ui/webui/resources/cr_elements/cr_action_menu/cr_action_menu.js View 1 2 3 4 5 5 chunks +14 lines, -3 lines 0 comments Download

Messages

Total messages: 36 (23 generated)
dpapad
@dbeam, @michaelpg: I think this makes much more sense from the user's perspective. See https://bugs.chromium.org/p/chromium/issues/detail?id=659567#c8 ...
4 years, 1 month ago (2016-11-01 16:52:22 UTC) #19
michaelpg
On 2016/11/01 16:52:22, dpapad wrote: > @dbeam, @michaelpg: I think this makes much more sense ...
4 years, 1 month ago (2016-11-01 19:46:21 UTC) #20
dpapad
On 2016/11/01 at 19:46:21, michaelpg wrote: > On 2016/11/01 16:52:22, dpapad wrote: > > @dbeam, ...
4 years, 1 month ago (2016-11-01 20:45:57 UTC) #21
michaelpg
On 2016/11/01 20:45:57, dpapad wrote: > On 2016/11/01 at 19:46:21, michaelpg wrote: > > On ...
4 years, 1 month ago (2016-11-01 21:30:03 UTC) #22
dpapad
> OK, that's what I was checking. I guess that's what happens when you call ...
4 years, 1 month ago (2016-11-01 21:38:13 UTC) #23
dpapad
On 2016/11/01 at 21:38:13, dpapad wrote: > > OK, that's what I was checking. I ...
4 years, 1 month ago (2016-11-01 21:38:50 UTC) #24
Dan Beam
lgtm
4 years, 1 month ago (2016-11-01 23:03:04 UTC) #25
michaelpg
lgtm 2
4 years, 1 month ago (2016-11-01 23:17:15 UTC) #27
dpapad
On 2016/11/01 at 23:17:15, michaelpg wrote: > lgtm 2 Thanks. I have to wait for ...
4 years, 1 month ago (2016-11-01 23:43:33 UTC) #28
michaelpg
On 2016/11/01 23:43:33, dpapad wrote: > On 2016/11/01 at 23:17:15, michaelpg wrote: > > lgtm ...
4 years, 1 month ago (2016-11-02 01:05:18 UTC) #29
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/2464873003/160001
4 years, 1 month ago (2016-11-02 23:07:14 UTC) #33
commit-bot: I haz the power
Committed patchset #6 (id:160001)
4 years, 1 month ago (2016-11-03 00:14:10 UTC) #34
commit-bot: I haz the power
4 years, 1 month ago (2016-11-03 00:16:35 UTC) #36
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/140f168199593fafe11b6a568cdfa99b4d1c9bda
Cr-Commit-Position: refs/heads/master@{#429468}

Powered by Google App Engine
This is Rietveld 408576698