angularjs - What's wrong with ngAnimate and ui.bootstrap modal? -


in example

http://plnkr.co/edit/etwexjk0hru3b8wovojq

angular.module('animateapp', [   'nganimate', // adding causes issue modal backdrop   'ui.bootstrap' ]) 

when close modal, backdrop won't go away. if comment out 'nganimate' dependency (script.js line 4), works fine.

am doing wrong or bug in ui.bootstrap when used nganimate?

it appears breaking change somewhere between angular 1.3.15 , 1.4.0. apparently in nganimate changed interferes backdrop hiding. if turn off animation, backdrop hides fine:

$scope.openmodal = function() {     $modal.open({       templateurl: 'modal.html',       controller: 'modalctrl',       backdrop: true,       animation: false     });   } 

if drop down 1.3.15, there no issue: plunker

if check dependencies page ui-bootstrap, doesn't have quite caught 1.4.0 yet: https://david-dm.org/angular-ui/bootstrap#info=devdependencies

it may worth posting issue or seeing if has already.


Comments

Popular posts from this blog

python - TypeError: start must be a integer -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -