Onsen2 - Carousel seems to have problem with ng-repeat
-
Hi Team,
We wanted to repeat ons-carousel-item using ng-repeat BUT it stacks all items.
Here is the sample created in CodePen to demonstrate the problem - http://codepen.io/CNaik/pen/beGabZ
Kindly let me know the right way if we are doing anything wrong.
Regards,
CNaik.
-
@CNaik Hello! This was already fixed and waiting to be approved here gh#1431
For now maybe you can manually call
myCarousel.refresh()
.
-
This has been merged now! Will be released with the next version.
-
had the same problem but using
auto-refresh
attribute fixed the carousel.
-
Thanks everyone for your replies.
I was away for few days, back into the business now. :)
Regards,
CNaik.