Skip to content
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

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

Closed
crowmagnumb opened this issue Sep 21, 2020 · 6 comments

Comments

@crowmagnumb
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:
  • 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

@NathanWalker
Copy link
Contributor

@crowmagnumb what nativescript/angular version?

@crowmagnumb
Copy link
Contributor Author

Ah, yes, didn't notice that tns info did not give that. Sorry. @nativescript/angular@10.1.4

@NathanWalker
Copy link
Contributor

Ok nice thanks - this pr may fix that NativeScript/nativescript-angular#2262 - bout to be merged and released.

@NathanWalker NathanWalker added this to In progress in @nativescript/angular via automation Sep 21, 2020
@NathanWalker
Copy link
Contributor

@crowmagnumb 10.1.5 was just published, could you clean project and try with that when get a chance?

@crowmagnumb
Copy link
Contributor Author

That did it!

@NathanWalker
Copy link
Contributor

Hooray! Thanks for confirming 🤗

@nativescript/angular automation moved this from In progress to Closed Sep 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

No branches or pull requests

2 participants