3
I’m making a list of cards with ng-repeat on Ionic, the problem is that it clicks the scroll vertical after a certain point (hangs as if there is no more content). This only happens on Android, Browser no.
Codepen: http://codepen.io/scofield25/pen/NxjmYP/
<div class="row" ng-repeat="movie in movies" ng-if="$index % 2 === 0">
<div class="col col-50" ng-if="$index < movies.length">
<div class="list card" width="100%">
<div class="item item-image">
<img class="movie-img" src="http://og.infg.com.br/in/12760791-e87-726/FT1500A/550/cristo-redentor.jpg">
</div>
<a class="item" href="#">
<strong>{{movies[$index].name}}</strong>
<p class="movie-type">
{{movies[$index].type}}
</p>
</a>
</div>
</div>
<div class="col col-50" ng-if="$index + 1 < movies.length">
<div class="list card" width="100%">
<div class="item item-image">
<img class="movie-img" src="http://og.infg.com.br/in/12760791-e87-726/FT1500A/550/cristo-redentor.jpg">
</div>
<a class="item">
<strong>{{movies[$index+ 1].name}}</strong>
<p class="movie-type">
{{movies[$index+ 1].type}}
</p>
</a>
</div>
</div>
</div>
Thank you in advance!
Add the code directly to the question.
– user28595
Ready, code added.
– SCOFIELD
In the Codepen example there was no error. But try using
collection-repeat
instead ofng-repeat
.– leopiazzoli
Probably the version you are testing Android must be less than 4.4 right? If you are trying to test in a larger version and see if it resolves. I still haven’t found a solution for this(I have the same problem), so requirement of my app is 4.4 >
– leopiazzoli