Notice: The Monaca & Onsen UI Community Forum is shutting down.
For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.
Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.
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.