| 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 3d14d363ccefe5c64b1e5238adc9a21fce7c8b77..8d8a373792629f1099f145c243d3a57b55612b2a 100644
|
| --- a/ui/login/account_picker/screen_account_picker.js
|
| +++ b/ui/login/account_picker/screen_account_picker.js
|
| @@ -162,6 +162,14 @@ 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 = Oobe.getMaxHeightBeforeShelfOverlapping($('bubble'));
|
| + if (maxHeight < $('bubble').offsetHeight) {
|
| + $('bubble').showContentForElement(activatedPod.mainInput,
|
| + cr.ui.Bubble.Attachment.TOP,
|
| + error,
|
| + BUBBLE_OFFSET, BUBBLE_PADDING);
|
| + }
|
| }
|
| },
|
|
|
|
|