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] Entries inside TabView with HorizontalTextAlignment set to Center or End when clicked change TabView selection to first index on Android  #776

@meJevin

Description

@meJevin

Description

In my Xamarin.Forms project I have a MainPage (Content page inside of a Navigation page) which has a grid with a TabView.

TabView is populated with TabViewItems, containing a ContentView inside.

In those ContentViews I have a few Entry controls with HorizontalTextAlignment set to Center (or End).

When I am inside of, say, TabItemView with index != 0, and I click on those entries, TabView for some reason switches to the first TabViewItem.

Interestingly, when HorizontalTextAlignment is set to Start (which is default) this problem does not occur.

Steps to Reproduce

Described above.

Expected Behavior

I am able to interact with Entries with HorizontalTextAlignment != Start inside of TabView without switching back to the first TabItemView

Actual Behavior

Described in first section

Basic Information

  • Version with issue: 1.0.1
  • Last known good version: ?
  • IDE: VS2019 16.8.4
  • Platform Target Frameworks:
    • Android: 10 Q
  • Nuget Packages:
    • Xamarin.Forms 5.0.0.1874
    • Xamarin.Essentials 1.6.0
    • Xamarin.CommunityToolkit 1.0.1
    • Refractored.MvvmHelpers 1.6.2
  • Affected Devices: Simulator Pixel 3 x86

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