Pages with list-card and ng-repeate don't move?


#1

I want to show informations with an array of list card managed by ng-repeat, but when I load the page for the first time, the view is statics,it seems it’s only the first page and i can’t navigate with the mouse scroll or the browser scroll bar; this issue disappears when i reload the page.
(I use live preview of Brackets and Ripple for device emulation)

Anyone knows the cause? should I programmatically reload the page and what would be the correct code for that?

 <div class="list card" style="margin-top:50px" ng-repeat="singular in multiples">
  ....
 </div>

#2

Did you try to add before and after your

section ? This happened to me yesterday ,and I fixed it in this way .

#3

Can you explain what do you mean for ‘section’? Because if I understand correctly, you duplicate the div content, but I want a ‘best practise’ method. Thanks.


#4
<ion-content>
<div class="list card" style="margin-top:50px" ng-repeat="singular in multiples">
  ....
 </div>
</ion-content>

#5

Sorry, I couldn’t see the html tag here and I couldn’t know what did you say about ion-content. Fortunately I’ve just seen the complete answer in the email that ionic sent to me. Thanks, I will try it soon.


#6

Thanks for the hint, this solved my issue.