There is a page on bootstrap (3.3.7) with a drop-down menu that contains tabs and links. At this time, the menu opens hover, tabs work.
If you delete this js script in the sandbox:
$(document).ready(function(){ $(".dropdown").hover( function() { $('.dropdown-menu', this).stop( true, true ).slideDown("fast"); $(this).toggleClass('open'); }, function() { $('.dropdown-menu', this).stop( true, true ).slideUp("fast"); $(this).toggleClass('open'); } ); }); This drop-down menu is opened by clicking, but also closes by the next any click on tabs or another menu item and outside of it.
If you leave the JS code, the menu opens when you hover, and is not hidden when you click on the tabs (tabs).
How to make the menu show when clicked, while preventing the menu from closing the tabs and the empty space of the drop-down menu?