XamarinCommunityToolkit icon indicating copy to clipboard operation
XamarinCommunityToolkit copied to clipboard

[Bug] TabView's TabIndicatorView overlays TabViewItem in v2.0.6

Open kobbok opened this issue 2 years ago • 0 comments

Description

In previous versions the TabViewItem was placed in front of the TabIndicatorView, allow you to essentially set a background for the selected tab view item, which is how I was using it. In the latest version v2.0.6 the indicator now overlays whatever is in the TabViewItem. This occurs on both Android and iOS.

This seems to have been changed in repsonse to issue #1925 in commit #1926

Link to Reproduction Sample

https://github.com/kobbok/XCTTabViewBug

Steps to Reproduce

  1. Go to any page with a TabView where the TabViewIndicator is the size of the entire TabViewItem

Expected Behavior

TabIndicatorView is still in the background. Or as it seems some people want the functionality of it being in the foreground, maybe a way to select the behaviour?

Actual Behavior

TabIndicatorView covers the TabViewItem.

Basic Information

  • Version with issue: 2.0.6
  • Last known good version: 2.0.5
  • IDE: Visual studio
  • Platform Target Frameworks:
    • iOS: 17.0
    • Android: 13.0
  • Nuget Packages:
  • Affected Devices: All Android and iPhone/iPad devices

Workaround

Reproduction imagery

Expected: Screenshot_1699540235

Actual: Screenshot_1699540325

kobbok avatar Nov 09 '23 14:11 kobbok