xamarin / XamarinCommunityToolkit

The Xamarin Community Toolkit is a collection of Animations, Behaviors, Converters, and Effects for mobile development with Xamarin.Forms. It simplifies and demonstrates common developer tasks building iOS, Android, and UWP apps with Xamarin.Forms.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

HigorPereiraMOBRJ opened this issue · comments

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