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] iOS: Tabview Item does not update width when switching orientation between portrait and landscape #1294

Open
@abhcr

Description

@abhcr

Description

In iOS (iPhone and iPad), tabview contents does not update their width, height, and position when orientation is switched between portrait and landscape.

Steps to Reproduce

  1. Create Tabviews with 2 or more tabview items inside one of the pages in a shell tab.
  2. Switch between tabview items in portrait orientation in iOS.
  3. Change iOS device orientation to landscape.
  4. Now switch between tabview items. The layout will be off.

Expected Behavior

Tabview items should automatically update their layout to match the device orientation changes.

Actual Behavior

Tabview items does not update their layout to match the device orientation changes.

Basic Information

  • Version with issue: Xamarin Community Toolkit 1.1.0, Xamarin Forms 5.0.0.2012
  • Last known good version: NA
  • IDE: Visual Studio for Mac community edition.
  • Platform Target Frameworks:
    • iOS: 14.5
  • Affected Devices: iPhone, iPad

Workaround

NA

Reproduction imagery

Screenshot 2021-05-14 at 6 14 47 PM

Screenshot 2021-05-14 at 6 15 53 PM

Screenshot 2021-05-14 at 6 15 37 PM

Screenshot 2021-05-14 at 6 15 30 PM

Screenshot 2021-05-14 at 6 15 20 PM

Reproduce Link:
https://github.com/jamesmontemagno/app-peloton/blob/main/src/FitnessApp/Views/ClassesPage.xaml

Metadata

Metadata

Assignees

No one assigned

    Labels

    a/TabViewbugSomething isn't working. Breaky break.s/unverifiedThis issue needs verification/reproduction by a team member. PRs cannot be accepted/merged.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions