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

Issue 2946513002: Manage focus in overlays. (Closed)

Created:
3 years, 6 months ago by benjhayden
Modified:
3 years, 6 months ago
Reviewers:
eakuefner
CC:
catapult-reviews_chromium.org, tracing-review_chromium.org
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

Manage focus in overlays. Currently, whenever any elements other than the overlay <div> itself receives focus, the overlay immediately steals it back. https://github.com/catapult-project/catapult/commit/22cfc4803f75e4bf370c50dedc3a143934df227d This is ok for radio buttons and checkboxes, but catastrophic for select boxes, which can only be interacted with while focused. This CL makes overlay only steal focus back when the user tries to focus on something outside of the overlay. This allows select boxes inside of the overlay to maintain focus so that users can interact with them. I can't figure out why this ever worked. Maybe Chrome behavior changed? BUG=chromium:733991 Review-Url: https://codereview.chromium.org/2946513002 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/57e600c76c9f2f6ab3a5b82d3cc21ca738a62a7e

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -1 line) Patch
M tracing/tracing/ui/base/overlay.html View 1 chunk +12 lines, -1 line 0 comments Download

Messages

Total messages: 19 (12 generated)
benjhayden
PTAL
3 years, 6 months ago (2017-06-16 20:48:18 UTC) #5
eakuefner
lgtm -- would it be worth cherry-picking the corresponding catapult roll to stable once this ...
3 years, 6 months ago (2017-06-16 21:12:45 UTC) #6
benjhayden
On 2017/06/16 at 21:12:45, eakuefner wrote: > lgtm -- would it be worth cherry-picking the ...
3 years, 6 months ago (2017-06-16 21:15:22 UTC) #7
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/2946513002/1
3 years, 6 months ago (2017-06-16 21:15:35 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: Catapult Presubmit on master.tryserver.client.catapult (JOB_FAILED, https://build.chromium.org/p/tryserver.client.catapult/builders/Catapult%20Presubmit/builds/7533)
3 years, 6 months ago (2017-06-16 21:17:42 UTC) #11
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/2946513002/1
3 years, 6 months ago (2017-06-16 21:20:35 UTC) #16
commit-bot: I haz the power
3 years, 6 months ago (2017-06-16 21:40:31 UTC) #19
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/external/github.com/catapult-project/catapu...

Powered by Google App Engine
This is Rietveld 408576698