-
Notifications
You must be signed in to change notification settings - Fork 6.7k
bug(modal) - modal scope is not destroyed on close #1643
Comments
You're right. I need to research more on it. @pkozlowski-opensource thoughts? |
yup, this is a bug, side-effect of supporting close animations. Pretty easy fix, tests are not so obvious to write :-) |
Interesting, I must've introduced it. Need to account for this when using nganimate. |
@chrisirhc I will push a quick fix in a sec but yes, $animate will be a proper solution |
Cool thanks! Yep I'll look into it. |
Guys, that's a pretty critical bug. Could you please backport the fix to the 0.10 branch/tag if 0.11 is too far away. |
Ignore me. Just patched my source for now. |
Any idea when this will be fixed? |
I believe it's already fixed in 0.11: http://plnkr.co/edit/iuaRN1L07ojBbqyMyIpx?p=preview |
I just upgraded to 0.11 and the event still does not fire. |
For some unexplained reason it just started working. Cant figure out why. |
Hey Pawel, I still encounter this issue in both |
Hey Pawel, |
Same here, I can still see this bug. |
I use the 0.11 version, and the event can be triggered. I think this bug has been fixed. |
Yes, 0.11 fixes this issue. If someone here is working 1.3.0 angular , the only supported version is 1.3.0-beta.10. Else, typeahead does not work. Hope this helps someone. |
I was having this issue on 0.11, but figured out that I was calling |
I still experience the issue. |
@chrisirhc did you find any solution? |
I can't believe that this bug still messing around at this time. 👎 |
I am experiencing this with v1.3.3. Would it be possible to re-open this issue, as far as I can see it is unresolved. |
@AndrewIsh, I was just posting that I'm also having issues with v1.3.3, but turns out I had failed to account for an isolate scope on the directive where I was listing for the destroy event. So, I was listening to the wrong scope. It was getting destroyed, I just wasn't seeing the event. Just wanted to mention that in case you're doing something similar. |
any clear solutions on this .? |
Hi,
since version 0.10.0 modal $scope isn't destroy on modal close.
There are examples of this behaviour, please open browser console while testing.
Example using 0.10.0 (There is a bug):
http://plnkr.co/edit/luXIk8fRD3RaRYvFXUCA?p=preview
Example using 0.9.0 (Works fine):
http://plnkr.co/edit/qLAcaEcGryXOhBXoKp6v?p=preview
thanks
The text was updated successfully, but these errors were encountered: