下拉菜单不适用于移动设备 [英] Drop-Down Menu not working on mobile devices
问题描述
最新版本的 twitter bootstrap (2.3.2) 在移动设备上的下拉菜单似乎存在问题.
The most recent version of twitter bootstrap (2.3.2) does seem to have a problem with drop down menus on mobile devices.
当您在打开菜单后单击下拉菜单项时,菜单会直接关闭并且不会单击任何链接.你可以在他们的示例页面上看到这个:http://twitter.github.io/bootstrap/examples/hero.html
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
我在他们的 github 页面上发现了一个问题,但没有解决方案:https://github.com/twitter/bootstrap/问题/7927
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?
推荐答案
临时修复是添加
.dropdown-backdrop{
position: static;
}
到 css 文件.
这篇关于下拉菜单不适用于移动设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!