Skip to content

TabContentItem order mixed up when using ngFor and static TabContentItem #2087

Open
@lambourn

Description

@lambourn

Environment

  • CLI: 6.2
  • Cross-platform modules: 6.2.1
  • Android Runtime: 6.2
  • iOS Runtime: 6.2
  • NativeScript-Angular: 8.20.3
  • Angular: ~8.2.0

Describe the bug

Given that <Tabs> have multiple <TabContentItem> created via *ngFor
And <TabContentItem> created via *ngFor are followed by another <TabContentItem>
When Items are rendered
Then Order of <Tabs> child-items is not correct

Sample project
3 TabContentItems created by ngFor, followed by one static TabContentItem render incorrect (Last Page first, whereas it should be last page)
https://play.nativescript.org/?template=play-ng&id=iBjLn7&v=14

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions