"There are no slides to show. So the carousel won't be rendered"

See original GitHub issue

I’m using Angular 8 + Owl 2 on large app. I tried to follow the guide as mentioned in the ‘Get started’ docs. I imported the necessary dependencies and whatnot, and I’m iterating over a list of custom components. However, in the browser, there’s a large blank space where the carousel should be and I also get the following message in the console: There are no slides to show. So the carousel won't be rendered. Any ideas on what’s causing this issue?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:12 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
vitalii-andriiovskyicommented, Aug 2, 2022

@matte0080

It’s fixed. Update ngx-owl-carousel-o to v7.0.4

1reaction
vitalii-andriiovskyicommented, Feb 23, 2022

@ant-ia , @ODanielHernandez , @Larbifatach

this message is shown if items array in <ng-template carouselSlide *ngFor="let item of items"> is empty. Check it firsly, please.

Render carousel if items is populated with data:

<ng-container *ngIf="items.length > 0">
  <owl-carousel-o [options]="myOwlConfig">
      <ng-template carouselSlide *ngFor="let item of items">
        <!-- Render my Items -->
      </ng-template>
    </owl-carousel-o>
</ng-container>


Read more comments on GitHub >

github_iconTop Results From Across the Web

There are no slides to show. So the carousel won't be re ...
I am trying to use ngx-owl ...
Read more >
Runtime error in Ivy mode with Angular 9-next.5 #45 - GitHub
There's similar problem in it ( There are no slides to show. So the carousel won't be rendered ). The solution of it....
Read more >
Ngx-responsive-carousel NPM - npm.io
Slides won't be shown when the width of the screen changes and the carousel has to apply new settings according to the defined...
Read more >
Angular MDBootstrap Carousel Component - GeeksforGeeks
isControls: If set to false, the carousel won't show the next and previous buttons. type: It is used to allow users to specify...
Read more >
how to refresh owl.carousel slider? - Magento Stack Exchange
So any solution how can I refresh the owl.carousel slider without scrolling the page when it displays a blank image. slider · owl-carousel....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found