None of the usual answers seem to have fixed our problem on Android. We tried the accepted answer here and several javascript hacks: Links to the boot menu that do not work on mobile devices and also http://alittlecode.com/fix-twitter-bootstraps-dropdown-menus-in-touch-screens/
Ultimately, we found that closure occurred and was conditionally called clearMenus() only if the parent links or the parent did not have a dropdown-submenu class
$(document) .on('click.dropdown.data-api', function (e) { //fix start var $parent = $(e.target).parent() var $grandparent = $parent.parent() if (!$parent.hasClass('dropdown-submenu') && !$grandparent.hasClass('dropdown-submenu')) { clearMenus() } //clearMenus //end fix }) .on('click.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() }) .on('click.dropdown.data-api' , toggle, Dropdown.prototype.toggle) .on('keydown.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown) }(window.jQuery);
Hope this helps!
Julian dormon
source share