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
ngbCarousel - showNavigationIndicators not working #4253
Comments
I also encountered this bug and analyzing the code in the dev console, I noticed that the problem is not on the Javascript/Typescript side but on the CSS side, the "li" elements are initialized but have a size of 0x0px, change their width and height and it should work! Initially I also used "background color: yellow !important" to understand where they were, if it can help. |
This is the same issue as #4200 |
- In Bootstrap 5 the CSS selector matching indicators has changed and included `data-bs-target` attribute that we were missing - Recommended carousel markup changed from using `ul`, `li` and `a` to using `button` elements - Had to refactor tests as selectors were not precise enough On Bootstrap side see: - twbs/bootstrap#32661 - twbs/bootstrap#32627 Fixes ng-bootstrap#4200 Fixes ng-bootstrap#4253
- In Bootstrap 5 the CSS selector matching indicators has changed and included `data-bs-target` attribute that we were missing - Recommended carousel markup changed from using `ul`, `li` and `a` to using `button` elements - Had to refactor tests as selectors were not precise enough On Bootstrap side see: - twbs/bootstrap#32661 - twbs/bootstrap#32627 Fixes #4200 Fixes #4253
Bug description:
After updating to ng-bootstrap 12 navigation indicators not showing any more in ngbCarousel.
Link to minimally-working StackBlitz that reproduces the issue:
Go to https://ng-bootstrap.github.io/#/components/carousel/examples and click "Toggle Navigation Indicators" and nothing happens.
Versions of Angular, ng-bootstrap and Bootstrap:
Angular: 13.2.2
ng-bootstrap: 12.0.0
Bootstrap: 5.1.3
The text was updated successfully, but these errors were encountered: