Skip to content

[BottomNav] Changing tabs does not render the new tab items #7609

@PeterStaev

Description

@PeterStaev

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: 6.0.0
  • Cross-platform modules: 6.0.2
  • Android Runtime: 6.0.0
  • iOS Runtime: 6.0.0
  • Plugin(s):

Describe the bug
Having some tabs defined in the XML and then changing them from code does not generate new tabs. The tab bar appears to be empty. This is after applying the workaround to overcome #7608

To Reproduce
https://play.nativescript.org/?template=play-tsc&id=BYivzi&v=2
Tap on the Change button

Expected behavior
To work 😀

Related to #6967

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