Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.
This repository was archived by the owner on May 1, 2024. It is now read-only.

[Bug] TabView iOS displays all content on Initial load. #1994

@JosephHarvey-Xamarin

Description

@JosephHarvey-Xamarin

Description

TabView for iOS displays all content on initial load. As you can see in the image below, I have 3 tabs, but all the content is displayed at once. If I navigated away and then back again it is displayed as I would expect.

Suspect that the custom renderer is doing something at the wrong time and something has changed the newer Xamarin Forms versions that have altered the time of events, thus causing this to break.

Steps to Reproduce

  1. Make TabView
  2. Make TabViewItems (3)
  3. Run on iOS.

Expected Behavior

Each TapViewItem should be contained in its own ViewSet and should not be visible unless that tab is selected.

Actual Behavior

All tab Items are dispalyed at once, overlapping each other

Basic Information

  • Version with issue: 2.0.6
  • Last known good version:
  • IDE: VS 2022
  • Platform Target Frameworks:
    • iOS: 16.4.0.18

Workaround

Reproduction imagery

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working. Breaky break.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions