所以我最近正在开发一个网站,而不是使用从桌面到移动的导航条,我使用的是两个不同的导航条。
对于移动导航条,它是一个固定的导航条,有一个按钮来切换,使用折叠功能显示下面的内容。
这是一个错误:
Uncaught Error: Collapse is transitioning
at l.show (bootstrap.min.js:6)
at l.toggle (bootstrap.min.js:6)
at HTMLDivElement.<anonymous> (bootstrap.min.js:6)
at Function.each (jquery-3.1.1.min.js:2)
at r.fn.init.each (jquery-3.1.1.min.js:2)
at r.fn.init.l._jQueryInterface [as collapse] (bootstrap.min.js:6)
at HTMLButtonElement.<anonymous> (bootstrap.min.js:6)
at HTMLDocument.dispatch (jquery-3.1.1.min.js:3)
at HTMLDocument.q.handle (jquery-3.1.1.min.js:3)
l.show @ bootstrap.min.js:6
l.toggle @ bootstrap.min.js:6
(anonymous) @ bootstrap.min.js:6
each @ jquery-3.1.1.min.js:2
each @ jquery-3.1.1.min.js:2
l._jQueryInterface @ bootstrap.min.js:6
(anonymous) @ bootstrap.min.js:6
dispatch @ jquery-3.1.1.min.js:3
q.handle @ jquery-3.1.1.min.js:3当页面上没有其他内容时,navbar的折叠功能可以正常工作,但是一旦内容被放到页面上,它就会停止工作并抛出该错误。
如果任何人有任何想法,这将是非常有害的。
发布于 2017-04-20 03:37:09
我在这里回答:引导4错误:崩溃正在转换
在引导 v4.0.0-alpha.6版本中存在一个错误,将在下一个版本中解决转换问题。
有一段时间,您可以在此@Nayana_Das上使用类似于回答示例的解决方案。
https://stackoverflow.com/questions/42604063
复制相似问题