-
Notifications
You must be signed in to change notification settings - Fork 226
Dialogs don't dismiss with angular-bootstrap 0.13 #117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
In my case they do dismiss but the grey overlay stays there. |
Same problem... |
Mine do not dismiss either. Please fix this ASAP because angular-bootstrap 0.13 provides important functionality to my application. |
I'm facing same problem.. please fix this ASAP... |
Problem is most likely with ngAnimate. It works if animation is disabled, but since it is not possible to send "animate: false" as an option through angular-dialog-service call, you need to edit the source and force it in each dialog method (error, wait, confirm...). |
@m-e-conroy @leobudima I also think it has to do with animation.. I'm seeing the same behavior... I had to add a resolution to ensure that "angular-animate": "~1.3.15" was used.. This is preventing me from upgrading to angular 1.4. Also can we update the other dependencies like angular-translate and angular-bootstrap angular-dialog-service#5.2.6 |
Was anyone able to create a plunker showing the issue? When I tried the issue wasn't happening, which means there might be something else in my code which causes the issue. |
This happens to me too, when I add Angular Toastr directive to a controller that also has ui.bootstrap.modal. My page doesn't return from the faded out state. It has something to do with the version of ngAnimate used. Soon as the module depends on ngAnimate 1.4.0, the bug shows up, when a modal is closed. |
hmm. I also have toastr installed. On 6/3/15, Nicholas Marshall [email protected] wrote:
Thanks |
Issue with 1.4 animate and bootstrap angular-ui/bootstrap#3633 Workaround by John: |
@jberzins Thank you for taking the time to figure this one out, and anyone else that suspected it was the ngAnimate issue with Angular 1.4 I apologize to everyone else, I've been super busy lately with my real job to actually work on this. I will look into adding the above workaround directly into the dialogs service. |
Added the ability to toggle animations on and off via modal options or turn on using |
Thanks a lot, @m-e-conroy, really appreciate your effort and finding the time! |
Update http://plnkr.co/edit/9AXi1I7P7YN7wqMS8RDS?p=previewmy problem is using animations on an ng-repeat within the modal, not on the transition to the modal itself. I know the actual animation is fine, it works on ng-repeats in the parent view. the ng-enter and ng-leave classes are not added to an ng-repeat in a partial used with the angular-dialog-service maybe this is another problem with ui-bootstrap modals? does anyone have any tips on where to even start debugging this or looking for a workaround? has anyone else run into this problem? |
I recently updated angular-bootstrap to version 0.13, but found that the dialogs no longer dismiss by any button. I am using version 5.2.6 of the dialogs. Downgrading to 0.11 fixes the issue.
The text was updated successfully, but these errors were encountered: