compact / angular-bootstrap-lightbox

An AngularJS lightbox built using UI Bootstrap Modal.
http://compact.github.io/angular-bootstrap-lightbox/
MIT License
306 stars 134 forks source link

Modal Background Not closing #21

Closed scott-engemann closed 9 years ago

scott-engemann commented 9 years ago

The background/overlay does not hide when I close the dialogue box (either clicking off or clicking the "close" button).

compact commented 9 years ago

In which browser and device? In the demo, or in your own installation (with which versions of Bootstrap and UI Bootstrap)?

scott-engemann commented 9 years ago

Sorry for the delayed response. This is in my own installation. Google Chrome (Both Mac OS and Windows platforms) Here's the dependencies I have:

glothriel commented 9 years ago

I have the same issue

compact commented 9 years ago

Since you are using ngAnimate, the problem appears to be a breaking change with 1.4, which UI Bootstrap does not support yet: https://github.com/angular-ui/bootstrap/issues/3633

I can reproduce the issue by adding ngAnimate as a dependency. The backdrop works properly again when I downgrade all the Angular packages from 1.4.1 to 1.3.16. Another option for now is to remove the ngAnimate dependency if you are not using it directly.

scott-engemann commented 9 years ago

Thank you, this is working now.