Ionic-Material icon indicating copy to clipboard operation
Ionic-Material copied to clipboard

ng filter doesn't work with animations

Open xueenda opened this issue 9 years ago • 3 comments

When I try to filter the list, the whole list is gone. Without animation everything works fine.

Here is the code I have:

<label class="item item-input">
    <input type="text" placeholder="City" ng-model="searchCity">
  </label>
<ion-list class="animate-blinds">
    <ion-item ng-repeat="x in items | filter:searchCity"  ui-sref="app.details({ loc: loc, id: x.id })">
        <h2>{{ x.title }}</h2>
        <p>{{ x.content }}</p>
    </ion-item>
</ion-list>

xueenda avatar May 12 '15 19:05 xueenda