-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Modal Dialog doesn't fade out #3633
Comments
Is this on version 0.13.0? |
Yes |
+1 I can also confirm this issue. |
Related: #3620. Check out the discussion there about ngAnimate changes in AngularJS 1.3 causing this behavior. |
also conforming the same issue with 0.13.0 + angular 1.4 |
Does anyone have a workaround for this bug? I really need to have it fixed by next week. |
+1 |
+1 |
@jondthompson you can set animation to false so it works while fixes. |
Like I said did anyone here confirm everything is working as its supposed to when you include ngAnimate? |
@rvanbaalen With ngAnimate 1.40 rc.2 the modal close successfully, but the animation effect (fade out / in) won't work. |
Please test with versions that we actually support. UI Bootstrap supports Angular 1.3 so you should test with Angular 1.3 and ngAnimate 1.3 |
@rvanbaalen UI Bootstrap with Angular 1.3 and ngAnimate 1.3 working fine :) |
Thats what I mean. Everything else will be addressed soon when we implement Angular 1.4 compatibility (when the stable release is out). |
Hope this can help you, seems to be related to:
Seems that |
Comments from #3620 There is a known issue with Angular 1.4 and the Modal/Carousel directives. The ngAnimate module had some significant changes documented here that breaks how those directives are chaining animations. The area that needs to be addressed in the modal is here. . As a workaround, I changed that line from:
To:
Keep in mind, you lose the closing animation. |
Using 0.13.0 with angular 1.4 rc2, the modal dialog doesn't even appear for me. Just the dimmed backdrop. Switched back to 0.12.1 and everything is fine again. |
But popover-template while only works with 0.13.0 in Angular 1.4 |
I'm confused... So the only way to solve this problem is using 0.12.1 with Angular 1.4? |
Or config animation to false in 0.13.0 |
This should be fixed on master and via next release (0.13.1). |
Still experiencing the same problem with 0.13.1 and Angular 1.4.3 |
1.4.3 & 0.13.1 here, no more problem for me. neither with popover-template. |
Double checked. I confirm the problem is there on my application with 0.13.1. Works if i rollback to 0.12.1. I'll try to investigate what could be the problem a bit later if I have the time. |
Fixed for me too with Angular 1.4.3 and Angular-Bootstrap 0.13.1 - thanks! |
I'm using a workaround solution by turning off the animation. $modal.open({ Att, 2015-07-29 12:34 GMT-03:00 aaaaahaaaaa [email protected]:
|
Success! Doesn't work with angular 1.4.2 with angular-bootstrap 0.13.1, but when upgraded to angular 1.4.3, suddenly starts to work. |
This appears to be working now with angular 1.4.3 and angular-bootstrap 0.13.1. |
Confirm v1.4.3, v0.13.1 |
Using 1.43 with 0.13.1 with Bootstrap 3.3.5, fading in works but fading out doesn't work. It is due to reaching |
I had the same issue @levin81, try to include ngAnimate module, it worked for me. |
I have included it. I have tried messing around with different versions of Angular as well. Still doesn't work. Edit: nevermind, forgot to add the Attached is a plunker which demonstrates it is working with the latest versions of everything. |
I updated angularJs 1.4.3 & angular-ui 0.13.2 from Nugget in Visual Studio 2012 yesterday, |
Look at the plunker that I linked - it is barebones. Did you add 'ngAnimate' to the dependencies of your app? |
not working with me with v1.4.3, v0.13.1. All links become disabled after the modal dismissal. |
Thanks @itsazzad . I've disabled the animation for now as well. |
Add property 'animation: false' for resolving this issue: |
I debugged function Edit: updating to angular-bootstrap 0.13.3 solved the problem |
+1 |
As @rems69 mentioned: including ngAnimate fixed this problem for me as well. |
updating to angular-bootstrap 0.13.3 solved the problem for me too. |
1 similar comment
updating to angular-bootstrap 0.13.3 solved the problem for me too. |
The bug still exist in my setup (ng 1.4.8). Downgrading to 0.12.1 fixes problem. |
Under certain circumstances, the modal dialog will simply disappear instead of fading out (even though it successfully fades in).
The example in the documentation is what it should do (fade in and out).
https://angular-ui.github.io/bootstrap/#/modal
Ironically, the plunker link it generates shows the modal not properly fading out. I've saved my own to serve as an example here:
http://plnkr.co/edit/lmFTpQtfgV6qB4AuFrXj?p=preview
[Edit from @chrisirhc to reduce confusion: Please take note that the above Plunker does not include angular-animate. As such, no animations should be seen. This is a new requirement for animations, see README.]
I have the same issue in a separate project of mine where I am handling the modal differently but have the same bug. I can provide the 2nd example if it would help but I imagine the plunker should be enough.
The bug appears to be browser independent as it occurs both when I use Chrome v42.0.2311.135 m and in the developer edition of Firefox (39.0a2).
UPDATE: Note that the plnkr is using the latest version of angular-ui (0.13.0) and the latest supported version of angular (1.3.13). This is not about angular 1.4.
The text was updated successfully, but these errors were encountered: