-
Notifications
You must be signed in to change notification settings - Fork 1.7k
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
feat(carousel): add transition to carousel #281
Comments
Any word on this? Seems like all the correct classes are there, but the transition does not work. |
Is this fixed now!! I'm having the same issue |
I'm still having the same issue |
Any updates on that? |
I just looked at the bootstrap web sites for V3 and V4 at the demo of the carousel I suspect this is part of where it fails to do the effects. |
it's funny there are multiple samples of carousels and they all seem to have the same missing feature. |
just a heads up in case anyone is interested that other carousel almost works but something in the changes fro early to release is messing with my trying to make it work |
any update ? |
+1 |
Any update on this issue? I tried manually add transition style |
recom site carousel section functions normally, with exception of sliding animations. tracked issue valor-software/ngx-bootstrap#281
+1 |
Is need to add the classes: |
this will be very nice if we have a release build that works !! |
+1 |
3 similar comments
+1 |
+1 |
+1 |
+1 |
4 similar comments
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
I would also like the animations/transitions to be implemented :D +1 |
+1 |
+1 |
1 similar comment
+1 |
Nice library. Dynamic tabs are awesome. But without animations for accordion and image carousel I will have to switch back to regular bootstrap that relies on jQuery :( I really don't want to add jQuery as a dependency to my Angular project, but I have no choice. |
in CSS component i added it works but the effect look like photo flash.. |
+1 I started to build an Angular 5 app using the newest Bs (first not ngx bs), but I couldn't control the carousel by jQuery. Then I found ngx bs, but the transition is missing of carousel. :/ |
I see this is on the roadmap now - NB feature. Hope it's done soon... |
+1 |
+1 |
So everyone just have carousels that change images without any kind of transition? Any ways to add any kind of transition so it doesn't seem so... sudden and uncontrolled? |
I had to switch to use this one instead due to the lack of transition support: https://github.com/sheikalthaf/ngu-carousel This one works well so far, very customizable. |
why ngb-carousel don't take the css classes at the attribute "class" ?? |
To create sliding animation I've came up with next solution in main carousel.slide-animated {
slide.item {
animation-duration: 1s;
animation-fill-mode: both;
&.active {
width: 100%;
animation-name: carouselSlideIn;
}
&:not(.active) {
display: table-cell;
animation-name: carouselSlideOut;
}
}
}
@keyframes carouselSlideIn {
0% { transform: translateX(100%); }
100% { transform: translateX(0); }
}
@keyframes carouselSlideOut {
0% { transform: translateX(0); }
100% { transform: translateX(-100%); }
} You can use it than in component like: <carousel class="slide-animated">
<slide><img src="slide1.jpg"/></slide>
<slide><img src="slide2.jpg"/></slide>
<slide><img src="slide3.jpg"/></slide>
</carousel> PS: The single problem left is that slides are always moving from right to left, no matter which arrow you've pressed. I will update answer when/if I resolve this |
Add animation to carousel Close valor-software#281
Add animation to carousel Close valor-software#281
Add animation to carousel Close #281 Co-authored-by: dmitry-zhemchugov <44227371+dmitry-zhemchugov@users.noreply.github.com>
i have modified @griga input and added back animation html ts scss @Keyframes carouselSlideIn { not sure why the code i added is not showing in code format.. anyhow this is working with back and forward slide animation |
There is no transition while slides change.
The text was updated successfully, but these errors were encountered: