Skip to content

[Tabs][iOS] Incorrect tab bar when Tabs are wrapped in any layout #7531

@MartoYankov

Description

@MartoYankov

Environment

  • CLI: rc
  • Cross-platform modules: rc
  • iOS Runtime: rc

Describe the bug
On iOS when Tabs are wrapped in any layout, the tab strip isn't laid out correctly.

To Reproduce
Use the following setup :

<Page>
<ActionBar></ActionBar>
<GridLayout>
  <Tabs>
    <TabStrip>
        <TabStripItem title="First" class="special"></TabStripItem>
        <TabStripItem title="Second"></TabStripItem>
    </TabStrip>

    <TabContentItem class="special">
        <GridLayout>
          <Label text="First View" />
        </GridLayout>
    </TabContentItem>

    <TabContentItem>
        <GridLayout>
          <Label text="Second View" />
        </GridLayout>
    </TabContentItem>
  </Tabs>
</GridLayout>

Expected behavior
The Tabs tab strip should always be laid out correctly.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions