This is my first experience using Angular with Bootstrap's carousel component, and I'm encountering a peculiar issue where a white slide appears before each transition (refer to the GIF below). Despite following the setup instructions on ng-bootstrap's Github page, I haven't been able to pinpoint the problem. Here are the relevant files involved:
Here is a GIF demonstrating the current problem: https://ibb.co/p38LP4X
home.html
...
<ngb-carousel *ngIf="images" [interval]="5000" [pauseOnHover]="pauseOnHover" [pauseOnFocus]="pauseOnFocus">
<ng-template ngbSlide *ngFor="let img of images; index as i">
<div class="carousel-caption">
<h1>AS SOLID AS THEY COME</h1>
</div>
<div class="img-wrapper">
<img [src]="img" alt="My image {{i + 1}} description">
</div>
</ng-template>
</ngb-carousel>
...
angular.json
...
"styles": [
"node_modules/bootstrap/dist/css/bootstrap.min.css",
"src/styles.css"
...
In addition, in my index.html file, I have included another version of Bootstrap, as relying solely on the one specified in angular.json rendered the carousel non-functional altogether.
index.html
<head>
...
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="0c6e6363787f787e6d7c4c382239223f">[email protected]</a>/dist/css/bootstrap.min.css" />
...
</head>