Hi,
I’m new to ionicframework / angularjs. I noticed app developed in ionic has slower on scrolling as compared to facebook app. can you please tell me how can increase scroll amount
regards,
-Navi
Hi,
I’m new to ionicframework / angularjs. I noticed app developed in ionic has slower on scrolling as compared to facebook app. can you please tell me how can increase scroll amount
regards,
-Navi
It can be a number of things really,
are you using list ng-repeat how you placing your content on the view
more info
Since you’re a beginner like me, you could be interested in this awesomness : https://www.airpair.com/angularjs/posts/angularjs-performance-large-applications
As for the scrolling itself, on my Nexus 5 it’s OK as long as I’m not trying to add calculations or behavior depending on it, otherwise it’s slow, but I’m a beginner like you so I still have a lot to learn
Yes using ng-repeat but should not effect scrolling as its already complete?
please check my codes below:
<ion-content class="has-header">
<div class="col-xs-6 relative" ng-repeat="make in makes">
<div class="main panorama panorama-make"><a href="{{make.url}}"><img ng-src="{{make.image}}" alt="{{make.name}}" title="{{make.name}}" /></a>
<div class="sub"><h3><span class="label label-default">{{make.name}}</span></h3></div>
</div>
</ion-content>
This should not be a problem… If I had to guess I would say maybe the images are very wide ?
So when I run into this problem my solution to this was the following.
Try those to solution and see how that improves your performance. You could also look into ng-bind
Included these two links for your reference