I am trying to add a can-swipe gesture to a list item in ionic and also a right arrow icon to show that the particular list item is swipable.
<ion-content>
<ion-list show-delete="false" can-swipe="true" >
<ion-item item="volunteer" ng-href="#" class="item item-icon-right" ng-repeat="volunteer in dummyData.Volunteers" >
<i class="icon ion-chevron-right icon-accessory"></i>
{{volunteer.name}}
<br>
{{volunteer.phone_number}}
<ion-option-button class="button-light icon ion-heart"></ion-option-button>
<ion-option-button class="button-light icon ion-email"></ion-option-button>
<ion-option-button class="button-assertive icon ion-trash-a"></ion-option-button>
</ion-item>
</ion-list>
</ion-content>
When I debug this on my android device(as on browser the swipe gestures are not working(I am using firefox)), on swiping the buttons are not visible. But if I remove the icon classes( class="item item-icon-right" and class="icon ion-chevron-right icon-accessory">) everything works fine. I.e
<ion-content>
<ion-list show-delete="false" can-swipe="true" >
<ion-item item="volunteer" ng-href="#" ng-repeat="volunteer in dummyData.Volunteers" >
{{volunteer.name}}
<br>
{{volunteer.phone_number}}
<ion-option-button class="button-light icon ion-heart"></ion-option-button>
<ion-option-button class="button-light icon ion-email"></ion-option-button>
<ion-option-button class="button-assertive icon ion-trash-a"></ion-option-button>
</ion-item>
</ion-list>
</ion-content>
Can't understand the cause for such a behavior. Kindly help me in solving this. Also if anyone can share working examples for this problem statement that would be great.