I have a ion-list with several ion-item like that:
<ion-list>
<ion-item class="item-divider">
Pending
</ion-item>
<ion-item
collection-repeat="pending in pendings">
<h2>{{pending}}</h2>
</ion-item>
<ion-item class="item-divider">
Recent
</ion-item>
<ion-item class="item-text-wrap"
collection-repeat="recent in recents">
<h2">{{recent}}</h2>
</ion-item>
</ion-list>
The items are not displayed and I get
Uncaught RangeError: Maximum call stack size exceeded
RepeatController.scrollView.__callback
The error is in the following code:
scrollView.__callback = function(transformLeft, transformTop, zoom, wasResize) {
var scrollValue = view.getScrollValue();
if (renderStartIndex === -1 ||
scrollValue + view.scrollPrimarySize > renderAfterBoundary ||
scrollValue < renderBeforeBoundary) {
render();
}
====> scrollView.__$callback(transformLeft, transformTop, zoom, wasResize);
};