Famous / Famous/famous-angular

fa-scroll-view, watchers and poor performance

Open
#347 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.9k
Forks
267
PR merge metrics
No merged PRs in 30d

Description

In fa-scroll-view, as I add more items, the scrolling slows until it becomes unusable or generates a memory error.

Here is the FA code I'm using.

```









```

Changing the layouts between fa-grid-layout or fa-sequential-layout or no layout wrapper did not seem to affect performance either way.

It seems like each item generates 2 watchers as well. So, if I have 40 items, I get 80 watchers, regardless of the content inside of the ng-repeat. Is this expected behavior, or is it my code? Is there something that can be optimized?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.