Were there changes to ion-list from beta 1 to beta 3. My list isn’t styled properly anymore and the option buttons no longer work. Worked perfectly under Beta 1.
<ion-list can-swipe="true" option-buttons="optionButtons" ng-show="tickets.length > 0">
<ion-item ng-repeat="ticket in tickets" item="ticket" item-type="item-text-wrap ticket-item" href="#/tab/{{ view.url }}/ticket/{{ticket.id}}">
There were some big changes between the two.
This
<ion-list option-buttons="[{text:'hello',type:'button-positive',onTap:tap()}]"
on-delete="onDelete(el)"
delete-icon="ion-minus-circled"
can-delete="true"
show-delete="shouldShowDelete"
on-reorder="onReorder(el, startIndex, toIndex)"
reorder-icon="ion-navicon"
can-reorder="true"
show-reorder="shouldShowReorder">
<ion-item ng-repeat="item in items">
{{item}}
</ion-item>
</ion-list>
Becomes this
<ion-list show-delete="shouldShowDelete"
show-reorder="shouldShowReorder">
<ion-item ng-repeat="item in items">
{{item}}
<ion-delete-button class="ion-minus-circled"
ng-click="onDelete(item)">
</ion-delete-button>
<ion-reorder-button class="ion-navicon"
ng-click="onReorder(item, $fromIndex, $toIndex)">
</ion-reorder-button>
<ion-option-button class="button-positive" ng-click="tap()">
Hello
</ion-option-button>
</ion-item>
</ion-list>
Take a look at this release note
Apologies for the long wait! We had some big things we were working on: more reliable tapping, keyboard fixes, and virtual scroll. We are going back to a more rapid release cycle, so expect beta.3 with a few more minor fixes very soon, followed by...
Reading time: 5 mins 🕑
Likes: 19 ❤