-
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(animations): add animations to all components #801
Comments
+1 |
Yes, could someone please advise the timeline for releasing the transition module? |
Hi guys, from this file \ng2-bootstrap\components\collapse\collapse.directive.ts, you guys have implemented the animation transition but commented them all out because of the following ng issue. however, the issue 5984 has been closed in June 2016, can you guys advise when the animation will be enabled for ng2-bootstrap please? // fix: replace with // '@angular/animate'; |
+1 Animations are quintessential for something like Accordion. |
Any updates on this? |
ok, with angular2 2.1 animations became a thing, so they will be added soon |
I needed accordion animations for a project so I made some very specific tweaks that work for my use-case. If anyone is interested you can check out: fareesh@701af87 Would also be happy to make the necessary changes to make this usable in a generic case if someone can point me in the right direction. |
Hope the animations are coming soon, it's definitely a must. |
Any solutions?? |
I can add almost all animations, but I will have to drop IE9 support |
@valorkin да это какой-то беспредел вообще. юзаю ангуляр 2 юниверсал, там мне админ говорит мол используй версию ng2-bootstrap 1.1.16. Потому что jQuery там (в юниверсале) работает через задницу, он работает, но в компонентах другие плагины типа owl.carousel2 отрубаются. думал хоть это заработает. заработало. перелопатил css этот, зачем вообще использовать display, когда при разных значениях никакая анимация не работает. отрубаешь дисплей, меняешь на height: 0 (auto) и т.д. и все работает. Уже третьи сутки сижу потею как черт)) И то, если css правишь, то работает только opacity. |
Hi, Any news / solution on this issue ? |
@k20human seems in ng v4+ animations will come as needed ;) |
@k20human just edit css files. The problem in 'display: block'. Delete it or replace to another style, besauce 'transitions' doesnt work with display: block in that case. It helps for me. But after that i tryed SWIPER and its awesome |
Finally i use animate.css and use
|
Biggest issue with animation at the moment, that directives doesn't support animation :( |
It's kinda blocker |
Has improved this situation with angular 4? |
+1 |
1 similar comment
+1 |
4.1 promises to bring required features, but we will see |
Angular 4.1 is out! Does it bring the required features @valorkin ? |
@aeab13 issue to track angular progress angular/angular#9947 |
News about this? I'm using Collpase directive on navbar menu (on small screens) but the animation does not work @k20human I've tried your solution but it animates only the link, the background still appears instantly. |
any updates? |
in angular v4.2 added |
@valorkin now that you're adding animations to all components it would be really useful to be able to disable or enable programmatically. |
this is 2018 and angular version is 5.2. |
we are working to get it soon |
thanks so much |
Thank you so much |
Great news ! |
That's one of the reason why I have chosen VueJs 2 over Angular. I like Angular but the conservatism and the lack of things like these (animations in UI-packages etc) makes me sad. |
There are news about it? |
@DemianFuentes couldn't you do it with css animation? |
I couldn't do it by css animations. When the alert is dismissed, it disappears from the page instantly. I want to fade it out instead. |
A lot of things happened, good and bad, and I stuck a bit with this. One of the most consuming things is organizing https://ngtalks.io |
Hi! Any update on this? :) |
Hi. Any update on this? After some core bootstrap features like grids, in my option this appears to be the most important feature. I much rather use Bootstrap than Angular Materials, but all their components are animated. |
I wanted to use the ngx-accordion, but the lack of animations is a big show stopper for our product. The opening and closing without some transition to guide the user is jarring. |
Another alternative https://material.angular.io/components/expansion/overview |
If the CSS is designed correctly you can have animations via CSS. The accordion on expand adds styles via code to the element which cannot be overridden unless you use !important. Just provide a class and add them there and add the class. Also when collapsing remove the properties you added on expansion. I know it is efficient but display: none kills all animations. You don't need directives if you design the css properly. Provide hooks to allow customisation. |
Hi, any update on this? If it's at least possible to hook in to something like "beforeShown" and "beforeHidden" that would be helpful (using the dropdown as an example)! |
Faced same thing - is it planned, or just abandoned? At least is there any hack? |
I've taken to using a mix of ngx-bootstrap and angular material depending on which meets my needs. |
There is a small hack I worked on. you have to create a CSS animation with the time you're gonna setup dismissible timeout. eg -
|
I have a hack that we used to have a sliding animation. To have the accordion animate, just add the animate class to the accordion. We are using this with an older version, ngx-boostrap 3.0.1, but it might work for your use-case. You may need to alter the max-height or transition speed based on your needs.
|
Blocked by: angular/angular#9947
Are animations for the accordion, alerts, etc. on the roadmap for this project? Would be huge to further reflect fully-featured Bootstrap components.
The text was updated successfully, but these errors were encountered: