Carousel not working with angularjs 1.2.7 + bootstrap 3.0.3 #1565
Comments
Could you please provide a demo in a Plunk, so we can verify if this is a new bug. At this point Angular 1.2.x isn't supported yet, although I guess it will released in a few days. |
@dinhvan5481 This seems to work fine here: http://plnkr.co/edit/SEJLWKwlODUetp6q23rG?p=preview. Closing, but feel free to reopen when you have something to show. |
Actually, there is an identified issue when you want to use carousel when ngAnimate is loaded as dependance. See #1350 to get a workaround. |
Thank @couclock very much. I tried to re-create the issue on plunker, but couldn't. |
Thanks guys. Commenting out ngAnimate did it for me! I'm not sure what I had ngAnimate in for now, but this seems like a big issue. Thanks! |
Yes,Commenting out ngAnimate did it for me too!Thanks! |
Still not working with Google chrome 34.0.1847.116 http://plnkr.co/edit/EzeZ6KKPfHe0draKUItn?p=preview By the way # coffeescript
$timeout -> $animate.enabled off, angular.element(".carousel") // js
$timeout(function() {
return $animate.enabled(false, angular.element(".carousel"));
}); this trick working for me. |
@Pleasurazy it is not working for me but ur plunker seems to be working im using ui-bootstrap-tpls-0.10.0, |
Very interesting issue. And this issue makes me think of a WinForms UI Carousel control I got to know recently. From the carousel control tutorial in C#, I can tell they are the similar thing but quite different in implementation. Looks like a novice in JS need to dig deeper. |
Confirming the issue. Angular v1.2.16 + ngAnimate. Will this get fixed? |
This issue is actually also referenced here : #1350 Someone has given a workaround but it seems it's not fixed yet. |
We are on November and it hasn't been fixed yet. |
Wow thanks for this thread, I was so confused as to why my slideshows randomly broke! |
Has this still not been resolved? Removing ngAnimate isn't an option for me. |
any one got this problem solved 👎 ? |
I am still experiencing this issue as well. Thankfully @Pleasurazy's workaround fixed the issue for me. |
Yeah i used the directive workaround. Kinda lame but gets the job done.
|
I actually moved mine to the config block:
This means ngAnimate is disabled for all elements in the application with the |
@Stratus3D Thanks! That worked for me. |
@Stratus3D Thanks! Thanks! Thanks! Thanks! Thanks! Thanks! That worked for me too. |
Disabling ngAnimate works for me, but I need animation for elements inside my carousel. Is there a proper fix for this so carousel works with ngAnimate? |
This is fixed on master. |
@texasinstrument Like @chrisirhc said, it's fixed in the master branch, not in |
Closing - can be reopened if OP finds its not fixed on master. |
@Stratus3D Thanks! |
The same issue on Bootstrap v3.3.1 and Angular 1.3.10 |
This is on master, it hasn't been released. I think you're referring to downloading the released module on the angular-ui/bootstrap website. The master build can only be obtained by cloning the code and building. |
In my case I was using require.js to load ui-bootstrap, angular-animate was listed as a dependency. Then in my controller I also had angular-animate as a required module. I am assuming this was causing it to be loaded twice, removing angular-animate from my controller fixed the problem and angular-animate was still being loaded. |
I tried to use carousel control, but it's only work on first slide, and then pause forever. The control buttons (prev, and next) didn't work either.
The text was updated successfully, but these errors were encountered: