Skip to content

[VOTE] How to implement multiple frames? #1043

@rclai

Description

@rclai

According to this page, it says that "Nested frames are supported, enabling hierarchical navigation scenarios."

How is this achieved, especially in XML markup?

I've tried nesting a Frame tag inside a root Page tag, with a Page tag inside of it with a Label tag inside of it, but it doesn't show anything except for an empty extra action bar for iOS and a cannot read property 'getLayoutParams' of undefined on Android.

<Page xmlns="http://www.nativescript.org/tns.xsd">
  ...
  <Frame>
    <Page><Label text="Hello?" /></Page>
  </Frame>
  ...
</Page>

TNS 1.4.3.

Feature request vote: https://nativescript.ideas.aha.io/ideas/NS-I-138

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