Ionic list buttons resize when right icon display


#1

I dynamically show / hide icons on the right side of the list. However, when the icon shows, the ion-item scales up a little bit.

Any idea how to fix this? Definitely not a nice UX like that.

<ion-list>
        <ion-item-divider color="primary">
          Select
        </ion-item-divider>
        <button ion-item *ngFor="let property of properties; let i = index" (click)="propertySelected(property)" >
          {{ property }}
          <ion-icon *ngIf="propertySet[i]" name="checkmark" item-end></ion-icon>
        </button> 
</ion-list>