Skip to content

*ngFor on Android renders first item as last item (the rest are in proper order) #8878

@crowmagnumb

Description

@crowmagnumb

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:
  • Cross-platform modules:
  • Android Runtime:
  • iOS Runtime:
  • Plugin(s):
✔ Getting NativeScript components versions information...
✔ Component nativescript has 7.0.8 version and is up to date.
✔ Component @nativescript/core has 7.0.3 version and is up to date.
✔ Component @nativescript/ios has 7.0.0 version and is up to date.
✔ Component @nativescript/android has 7.0.0 version and is up to date.

Describe the bug

When rendering for example ...

items = ["1", "2", "3", "4"];
<Label *ngFor="let item of items" [text]="item"></Label>

It will render 2, then 3, then 4, then 1. But on Android only. Works fine on iOS.

To Reproduce

Expected behavior

Sample project

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions