Answer the question
In order to leave comments, you need to log in
How to use bootstrap in Angular 5?
If you use bootstrap.css, then there are no problems, everything works fine. But when it comes to animations and using bootstrap .js files, the dancing starts. First I installed bootstrap from npm and then ng-bootstrap for individual components like buttons, carousels or modals. As I understand it, since bootstrap uses jquery to work with the DOM, and in angular this is not welcome, because of this, things like ng-bootstrap are used. In this ng-bootstrap, modal windows, for example, have no animation. Previously, I just added the fade class, but now I don’t even add the modal class. Anyone with experience, please tell me what I'm doing wrong. Or is it not worth using bootstrap at all in angular
Answer the question
In order to leave comments, you need to log in
Here some comrade reported on this topic, they say the animation does not work. Below, in the comments, someone suggests a workaround
. And here you can see that this animation has not yet been fixed .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question