The actions menu with the down arrow has two events:
hover and click to toggle. Both opens the menu. For the click toggle
is no indicator because the menu is already open by hover.
Change-Id: Ie251ab0d4d573937e08314de18ee731f154003bd
background-position: 100% 60%;
background-repeat: no-repeat;
cursor: pointer;
+ .transition(background-position 250ms);
+}
+
+div.vectorMenu.menuForceShow {
+ background-position: 100% 100%;
}
div.vectorMenuFocus {
/* Enable forcing showing of the menu for accessibility */
div.vectorMenu:hover div.menu,
-div.vectorMenu div.menuForceShow {
+div.vectorMenu.menuForceShow div.menu {
display: block;
}
// For accessibility, show the menu when the h3 is clicked (bug 24298/46486)
.on( 'click keypress', function ( e ) {
if( e.type === 'click' || e.which === 13 ) {
- $el.find( '.menu:first' ).toggleClass( 'menuForceShow' );
+ $el.toggleClass( 'menuForceShow' );
e.preventDefault();
}
} )