The most recent version of twitter bootstrap (2.3.2) does seem to have a problem with drop down menus on mobile devices.
When you click on a drop-down menu item after opening the menu, the menu simply closes and no link gets clicked. You can see this on their sample page here: http://twitter.github.io/bootstrap/examples/hero.html
I found an issue posted at their github page but no solution: https://github.com/twitter/bootstrap/issues/7927
Does anybody know the trick to fix it?
This worked for me:
via robdodson on github
I have fixed this issue.
My code is here
Add following style in your CSS fie.
Visit: http://www.s4auto.co.za/
For me, it worked adding to my styles:
almost the same answer as Matthias, i hope it helps.
None of the usual answers seemed to fix our problem on Android. We tried the accepted answer here and a few javascript hacks as well: Bootstrap Collapsed Menu Links Not Working on Mobile Devices and http://alittlecode.com/fix-twitter-bootstraps-dropdown-menus-in-touch-screens/
Ultimately we discovered where the close was occurring and conditionally called
clearMenus()
only if the links parent or grand parent did not havedropdown-submenu
classHope that helps!
A temporary fix is to add
to the css file.