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.
MIT License
1.59k stars 472 forks source link

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

Open kobbok opened 10 months ago

kobbok commented 10 months ago

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

Workaround

Reproduction imagery

Expected: Screenshot_1699540235

Actual: Screenshot_1699540325