下拉菜单不能在移动设备上工作 [英] Drop-Down Menu not working on mobile devices

查看:136
本文介绍了下拉菜单不能在移动设备上工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最新版本的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/ example / 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/issues/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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆