Relative Content

Tag Archive for angularbootstrap-5

Angular component (padding) [2]

I’m learning Angular at now, and one thing that I saw is that undesired paddings (and, sometimes, others things) are automatically added when an element ise used inside a component (element meaning a button with standard bootstrap classes)…

Angular component (padding)

I’m learning Angular at now, and one thing that I saw is that undesired paddings (and, sometimes, others things) are automatically added when an element ise used inside a component (element meaning a button with standard bootstrap classes)…

Bootstrap Navbar not closing

I use bootstrap 5 and Angular 17. My navbar is opening but not closing anymore as soon as I add a toast. I found out that the problem might be on how I import bootstrap but I cannot find the issue. I installed bootstrap and popperjs.
“@popperjs/core”: “^2.11.8”,
“bootstrap”: “^5.3.3”,

Why doesn’t my toggle button work in Angular?

In my application, the navbar seems to be working correctly- the UI is showing up correctly, adjusts correctly based on screen size, etc, but for some reason, the toggle button doesn’t work. I tried inspecting element, but no errors show up. I made sure all the correct dependencies were installed, and added the correct paths to my angular.json file, however, it still isn’t working. I also redid ng serve multiple times to see if I just needed to rebuild the app again.

Bootstrap Carousel Angular

I’m trying to use Bootstrap carousel in Angular (17). The Previous & next buttons are not working however; it remains stuck at the first image. No errors in the console. I see a lot of questions posted here with the same problem, but none of them with an answer (that works).