| Index: ui/login/account_picker/screen_account_picker.js
|
| diff --git a/ui/login/account_picker/screen_account_picker.js b/ui/login/account_picker/screen_account_picker.js
|
| index 537f6861ccff525d24953e19c67d7cff959c55f8..0ee9718991d22d6472cab72e1a6e035d9e208f54 100644
|
| --- a/ui/login/account_picker/screen_account_picker.js
|
| +++ b/ui/login/account_picker/screen_account_picker.js
|
| @@ -157,6 +157,15 @@ login.createScreen('AccountPickerScreen', 'account-picker', function() {
|
| cr.ui.Bubble.Attachment.BOTTOM,
|
| error,
|
| BUBBLE_OFFSET, BUBBLE_PADDING);
|
| + // Move error bubble up if it overlaps the shelf.
|
| + var maxHeight =
|
| + cr.ui.LoginUITools.getMaxHeightBeforeShelfOverlapping($('bubble'));
|
| + if (maxHeight < $('bubble').offsetHeight) {
|
| + $('bubble').showContentForElement(activatedPod.mainInput,
|
| + cr.ui.Bubble.Attachment.TOP,
|
| + error,
|
| + BUBBLE_OFFSET, BUBBLE_PADDING);
|
| + }
|
| }
|
| },
|
|
|
|
|