WebUI: cr-action-menu, handle enter when no item has focus
In windows and mac, pressing enter closes the context menu. For linux, pressing enter selects the first enabled menu item. This CL changes how enter is handled for cr-action-menu to match the context menu behavior. Bug: 867065 Change-Id: Ie2f716526c50e7bd88476bd846de587f94fb58f8 Reviewed-on: https://chromium-review.googlesource.com/c/1363853Reviewed-by:Scott Chen <scottchen@chromium.org> Reviewed-by:
Hector Carmona <hcarmona@chromium.org> Commit-Queue: Esmael El-Moslimany <aee@chromium.org> Cr-Commit-Position: refs/heads/master@{#614829}
Showing
Please register or sign in to comment