Ionic-Material
Ionic-Material copied to clipboard
ng filter doesn't work with animations
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>