【问题标题】:Angular ui bootstrap modal won't animate after bower install安装凉亭后,Angular ui bootstrap modal 不会动画
【发布时间】:2015-11-25 04:31:24
【问题描述】:

我运行了一个凉亭安装并且有某种依赖冲突,一切正常,网站加载正常,没有错误,但引导模式不会动画。动画设置为真。任何调试此问题的提示将不胜感激。

{
"name": "myApp",
  "version": "0.0.0",
  "dependencies": {
    "angular": "1.4.3",
    "json3": "~3.2.6",
    "es5-shim": "~2.1.0",
    "jquery": "~1.11.0",
    "bootstrap": "~3.0.3",
    "angular-resource": "1.4.3",
    "angular-cookies": "1.4.3",
    "angular-sanitize": "1.4.3",
    "angular-ui-router": "~0.2.15",
    "ng-clip": "*",
    "angular-scroll-glue": "~2.0.6",
    "ng-timeago": "*",
    "angular-bootstrap": "~0.13.2",
    "ng-file-upload-shim": "~6.2.1",
    "bootstrap-carousel-swipe": "*",
    "jquery.maskedinput": "~1.4.1",
    "ngAutocomplete": "~1.0.0"
  },
  "devDependencies": {
    "angular-mocks": "1.4.3",
    "angular-scenario": "1.4.3"
  },
  "resolutions": {
    "angular": ">1.0.6"
  }
}

【问题讨论】:

  • 也许你也需要安装 angular-animate
  • 也许你没有在你的模块上注入'ngAnimate'?像这样的东西? angular.module('yourApp', ['ngAnimate']);
  • 看起来你需要使用 Angular 1.4.5+ 来支持动画。感谢您的反馈

标签: angularjs bower angular-bootstrap


【解决方案1】:

看起来这仅在 Angular 1.4.5 + 中受支持。

【讨论】:

    猜你喜欢
    • 2016-01-09
    • 2015-09-09
    • 2013-07-03
    • 2014-02-09
    • 2013-05-23
    • 2017-03-14
    • 1970-01-01
    • 1970-01-01
    • 2016-06-13
    相关资源
    最近更新 更多