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

[Bug] iOS TabView: part of the content is not displaying on the page #1960

Open
HigorPereiraMOBRJ opened this issue Mar 31, 2023 · 0 comments
Labels
bug Something isn't working. Breaky break.

Comments

@HigorPereiraMOBRJ
Copy link

Description

I have an App in XamarinForms that has a MainPage ContentPage with four bottom tabs from TabView CommunityToolkit. The last bottom tab (Tab4) has xct:TabView inside with three more tabs in the top (TopTab1, TopTab2 and TopTab3).

The TopTab4 is a ContentView with a ScrollView.

When I navigate to the Tab4 (last bottom tab), then to Tab1 (or Tab2 or Tab3) and back to Tab4, the content in the top and the bottom of the TopTab1 are not appearing.

It only happens on iOS.

Steps to Reproduce

  1. Create a project with a MainPage ContentPage;
  2. Create bottom tabs with TabView from CommunityToolkit;
  3. Add to the last bottom tab more tabs and place them at the top (like TopTab1,... TopTab3)
  4. Navigate to the last tab (the one that has top tabs in it), then go to the one of the bottom tabs and then back to the last tab;

Expected Behavior

The layout of TopTab1 should stay the same when you first navigate to it. The content should be the same even after multiple navigations.

Actual Behavior

The layout of TopTab1 in one of my projects which contains a ScrollView the bottom and the top of the page are cropped. In another test project some kind of zoom in is applied to the TopTab1 layout.

Basic Information

  • Version with issue:
  • Last known good version:
  • IDE: Visual Studio 17.5 Preview and Stable 17.5.2
  • Platform Target Frameworks:
    • iOS: SDK 16.2
  • Nuget Packages: Xamarin Forms 5.0.0.2515; Xamarin.CommunityToolkit 2.0.5
  • Affected Devices: iOS simulators and devices

Workaround

Not yet.

Reproduction imagery

issue_tabview

@HigorPereiraMOBRJ HigorPereiraMOBRJ added the bug Something isn't working. Breaky break. label Mar 31, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working. Breaky break.
Projects
None yet
Development

No branches or pull requests

1 participant