Bootstrap导航栏折叠菜单不与Turbolinks一起使用.
工作方案
在页面加载
单击菜单和下拉列表
再次单击菜单并折叠
不工作(导航到任何页面后)
在页面加载
the same html, no need to repeat
单击菜单和下拉列表
the same html, no need to repeat
再次单击菜单并折叠
3.1.在调试器中观察到瞬态变化
注意:class ="navbar-collapsing"和height:96px;
3.2.然后回到相同的状态
注意:与步骤2中的html相同.
Libs版本:
Turbolinks 2.1.0
JQuery 2.0.3
Bootstrap 3.0.3
我希望有人能提出真实的答案或解释.