XamarinCommunityToolkit icon indicating copy to clipboard operation
XamarinCommunityToolkit copied to clipboard

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

Open JosephHarvey-Xamarin opened this issue 2 years ago • 0 comments

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

JosephHarvey-Xamarin avatar Oct 25 '23 17:10 JosephHarvey-Xamarin