![](/img/trans.png)
[英]Bootstrap: Accordion Collapse stopped working with Bootstrap 2.0.3
[英]Angular bootstrap accordion stopped working on update
我的手风琴工作正常(ui.bootstrap)。 我运行了一个凉亭安装程序以获取某些更新,突然间它变成了kaput。 我单击标题一次,它选择了文本,然后再次选择,手风琴展开了。 但是我不能让它再次崩溃。
控制台日志显示:
TypeError:无法在“ Window”上执行“ requestAnimationFrame”:作为参数1提供的回调不是函数。
在TypeError(本机)
在http:// localhost:3000 / assets / angular.js?body = 1:11786:20
在http:// localhost:3000 / assets / angular.js?body = 1:4297:31
在异步( http:// localhost:3000 / assets / angular.js?body = 1:4132:13 )
在Object。$ AnimateProvider。$ get.removeClass( http:// localhost:3000 / assets / angular.js?body = 1:4264:9 )
在崩溃时( http:// localhost:3000 / assets / angular-bootstrap / ui-bootstrap-tpls.js?body = 1:40:20 )
在Object.fn( http:// localhost:3000 / assets / angular-bootstrap / ui-bootstrap-tpls.js?body = 1:53:13 )
在Scope。$ get.Scope。$ digest( http:// localhost:3000 / assets / angular.js?body = 1:12448:29 )
在Scope。$ get.Scope。$ apply( http:// localhost:3000 / assets / angular.js?body = 1:12713:24 )
完成时( http:// localhost:3000 / assets / angular.js?body = 1:8316:45 )
有人吃过吗 这是一个rails + angular应用程序。 我的Bower JSON包括:
"dependencies": {
"jquery": "2.1.3",
"jquery-ui": "1.10.4",
"angular": "1.3.8",
"angular-route": "1.3.15",
"angular-resource": "1.3.15",
"angular-bootstrap": "0.13.0",
"angular-ui-slider": "0.1.1",
"angular-sanitize": "1.3.15",
"ng-tags-input": "2.3.0",
"angular-google-maps": "2.1.0",
"angular-google-places-autocomplete": "0.2.5",
"angular-scrollable-table": "latest",
"moment": "2.10.2",
"underscore": "1.8.3",
"angularjs-google-directions": "latest"
}
我在angular 1.2.8和ui-bootstrap 0.13.0中遇到了相同的问题...恢复为ui-bootstrap#0.12.0可以解决此问题!
FIY,ui-bootstrap 0.13.0已在angular 1.3.13上进行了测试,因此可以将ui-bootstrap降级或升级到上述版本。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.