I wrote a simple directive that defines an item for an ion-list. It simply inserts a pre-cofigured ion-item for each element in an array (based on the ng-repeat defined for the ion-list).
It looks something like this:
<ion-list ng-repeat="item in scheduleItems | orderBy:dateSort:true">
<schedule-item item="item" on-select="selectScheduleItem(item)"></schedule-item>
</ion-list>
When I test in a desktop browser (Chrome, Safari) it works as expected, but when it runs on the iPhone (iOS 8) none of the list elements are rendered.
If I change the definition of the directive so that the directive can be used as an attribute on ion-item, then I get an empty ion-item rendered for each element (the contents that should be inserted by the directive do not show up). This is what it looks like:
<ion-list ng-repeat="item in scheduleItems | orderBy:dateSort:true">
<ion-item schedule-item item="item" on-select="selectScheduleItem(item)" class="item-thumbnail-left" ng-click="selectScheduleItem(item)"></ion-item>
</ion-list>
Again, this only happens on the iPhone, not when run in a browser.
Is this a limitation of ion-list and ion-item? Itβs odd that it works when run in a desktop browser on my Mac but will not render when run on the iPhone.