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

Unified Diff: ui/login/account_picker/user_pod_row.js

Issue 1193923003: Prevent VK flashing after press a button in login header bar (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: uprev Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/login/account_picker/user_pod_row.js
diff --git a/ui/login/account_picker/user_pod_row.js b/ui/login/account_picker/user_pod_row.js
index d4fd53a524e08184975591c09a676f8f5b18ab97..a79a5d86d5ef21095627e8ff72822f4346992a79 100644
--- a/ui/login/account_picker/user_pod_row.js
+++ b/ui/login/account_picker/user_pod_row.js
@@ -2937,6 +2937,8 @@ cr.define('login', function() {
// Return focus back to single pod.
if (this.alwaysFocusSinglePod && !pod) {
+ if ($('login-header-bar').contains(e.target))
+ return;
this.focusPod(this.focusedPod_, true /* force */);
this.focusedPod_.userTypeBubbleElement.classList.remove('bubble-shown');
this.focusedPod_.isActionBoxMenuHovered = false;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698