mujtaba01 / ngx-owl-carousel

An angular2 (4) wrapper for jquery owl-carousel library with dynamic carousel item change detection
MIT License
70 stars 25 forks source link

Carousel adding extra empty item at the end of the array. #45

Open Suka1215 opened 6 years ago

Suka1215 commented 6 years ago

When initialized the carousel is adding an extra item to the end of the carousel. There is nothing in this item just empty.

zehaweb commented 6 years ago

Is there any solution to this problem?

zehaweb commented 6 years ago

Solve the problem, add *ngIf="items.length". for me works http://prntscr.com/katg2r