Skip to content

TabbedPage Barbackground visual bug when using Linear or Radial GradientBrush #12324

@MadsWW

Description

@MadsWW

Description

Whenever you add GradientStop with a Color that has transparency there is a visual bug on the TabBar. Looks like there is a frame behind it with a shadow. Only tested on Android since I dont have access to a iOS Device.

Noted that I place the TabBar on the bottom on android

Steps to Reproduce

  1. Have a Page that inherits from TabbedPage
  2. Use this setup as example

<TabbedPage.BarBackground>
    <RadialGradientBrush >
        <GradientStop Color="#1AFFFF00"
                      Offset="0" />
        <GradientStop Color="Green"
                      Offset="1.0" />
    </RadialGradientBrush>
</TabbedPage.BarBackground>

<local:SettingsView Title="Test" IconImageSource="dotnet_bot"/>

image

Link to public reproduction project repository

Link to test repo

Version with bug

7.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Android 13

Did you find any workaround?

No response

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions