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

Unified Diff: chrome/browser/resources/chromeos/login/md_login_shared.js

Issue 2916973002: Fix two container issues for new login screen (Closed)
Patch Set: Created 3 years, 7 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 | ui/login/account_picker/md_user_pod_row.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/chromeos/login/md_login_shared.js
diff --git a/chrome/browser/resources/chromeos/login/md_login_shared.js b/chrome/browser/resources/chromeos/login/md_login_shared.js
index 41afbaa4a8c70c61843a57258b65c7a0c7c89024..195102d869997e2a1e45f6959bf2d330da7c3aa4 100644
--- a/chrome/browser/resources/chromeos/login/md_login_shared.js
+++ b/chrome/browser/resources/chromeos/login/md_login_shared.js
@@ -425,6 +425,12 @@ cr.define('cr.ui', function() {
Oobe.setVirtualKeyboardShown = function(shown) {
Oobe.getInstance().virtualKeyboardShown = shown;
$('pod-row').setFocusedPodPinVisibility(!shown);
+ // The dark overlay should always have the same size with the larger one
+ // of the outer-container and the scroll-container.
+ if (shown)
+ $('login-shield').style.minHeight = $('outer-container').style.minHeight;
+ else
+ $('login-shield').style.minHeight = 'unset';
};
/**
« no previous file with comments | « no previous file | ui/login/account_picker/md_user_pod_row.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698