Index: ui/webui/resources/cr_elements/cr_action_menu/cr_action_menu.js |
diff --git a/ui/webui/resources/cr_elements/cr_action_menu/cr_action_menu.js b/ui/webui/resources/cr_elements/cr_action_menu/cr_action_menu.js |
index 9a94cfa6204e750ccfec46c635eadf1e7ce077f2..42b00655dd9e1ba6b45a7acd27a3892e9ef6d2fa 100644 |
--- a/ui/webui/resources/cr_elements/cr_action_menu/cr_action_menu.js |
+++ b/ui/webui/resources/cr_elements/cr_action_menu/cr_action_menu.js |
@@ -173,6 +173,7 @@ Polymer({ |
this.style.right = ''; |
this.style.top = ''; |
+ this.anchorElement_.scrollIntoViewIfNeeded(); |
this.showModal(); |
var rect = this.anchorElement_.getBoundingClientRect(); |