• Neill Magill's avatar
    MDL-50971 ActionMenu: Action menus cause page to jump when closing · 70fb7ac4
    Neill Magill authored
    This patch changes the behavior of open action menus when using a mouse.
    
    Before this patch when clicking on the page with an open action menu the focus would be
    returned to the action menu's call button. This could cause the page to jump when a
    mouse user did not close an action menu, scrolled and then tried to perform another
    action on the page.
    
    After this patch when clicking the focus will not be returned to the action menu's call button.
    The behavior of the script will not be changed when using the keyboard.
    70fb7ac4