Poor scrolling performance - Famo.us/Angular scrollview
I feel bad scrolling performance on mobile devices using Famo.us scrollview
. I am using Famo.us/Angular
. Here's the code used:
<fa-app>
<fa-scroll-view fa-pipe-from="eventHandler">
<fa-view ng-repeat="item in items" class="item">
<fa-surface fa-pipe-to="eventHandler" fa-background-color="'#FA5C4F'" fa-size="[undefined, true]">
<img ng-src="{{ item.src }}" />
</fa-surface>
</fa-view>
</fa-scroll-view>
</fa-app>
Parameters scrollview
have a default value. Some Famo.us demos show a perfectly smooth scroll. However, I am unable to translate this into practice. Since I haven't changed any parameters scrollview
or worked with the barebone template, I'm wondering what the reason is.
+3
source to share