How to clear list swipe state after clicking option buttons

Using option buttons in collection-repeat list, after clicking the option buttons to call some routines, the list swipe state remains unchaged. If the item is deleted, then a new item in the old position is automatically in swiped state. How to clear the swipe state for the selected item to fix that problem?

<ion-list can-swipe="true">
    <ion-item class="item my-item"
         collection-repeat="order in orders" 
         collection-item-width="'100%'"
         collection-item-height="60"
         ng-click="edit(order.id)">
        
        <h2>{{order.title}}</h2>

        <ion-option-button class="button-stable" ng-click="delete(order.id)">
            <i class="icon ion-trash-a"></i>
        </ion-option-button>
        <ion-option-button class="button-positive" ng-click="()">
           <i class="icon ion-wand"></i>
        </ion-option-button>
    </ion-item>
</ion-list>

Iā€™m using the nightly builds.

1 Like

I got the same problem here !

I am using a ng-repeat with track by $index and when I remove a item using array.splice($index, 1) the new item is automatically in swiped state as my friend just said.

Anyone has any news about that ?

Thanks !

1 Like

I have the exact same issue.