Skip to content

Using ListView without declaring a 'ng-template' causes crash after scrolling #1733

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
VladimirAmiorkov opened this issue Feb 15, 2019 · 0 comments

Comments

@VladimirAmiorkov
Copy link
Contributor

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

  • CLI: 5.2.0
  • Cross-platform modules: ~5.1.0
  • Android Runtime: 5.1.0
  • iOS Runtime: 5.1.1
  • Plugin(s):
  • NativeScript-Angular: ~7.1.0
  • Angular: ~7.1.0

Describe the bug
Declaring an ListView without defining a specific ng-template causes exception when the ListView is scrolled.

To Reproduce

<ListView [items]="pickerItems" (itemTap)="onItemTap($event)" class="list-group" row="1">
    
</ListView>

Expected behavior
Declaring an ListView without defining a specific ng-template will show the list with the default (Label) item template and will not crash after scrolling it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant