NativeScript + Angular gotcha
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
.gitignore
README.md
TheIllustratedVersion.gif
package.json
references.d.ts
tsconfig.json

README.md

ListView-Scroll-Issue

NativeScript + Angular gotcha! This isn't a bug, but it can be easily encountered.

When scrolling, the child components seem to jump around to different parent components.

ngOnChanges (instead of ngOnInit) should be used to set instance variables that are based off an @Input().

Screen capture