Skip to content

[iOS/Mac] ImageButton does not render its background when CornerRadius is larger than half of its size #39485

Open

Description

@Dhivya-SF4094

Description

An ImageButton whose CornerRadius is larger than half of its own size does not render at all — the control stays fully transparent (it is still laid out and still receives clicks).

Steps to Reproduce

  1. Create a new .NET MAUI app.
  2. Replace the content of MainPage.xaml with the XAML below.
  3. Run on an iOS simulator.
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             x:Class="ImageButtonCornerRadiusRepro.MainPage">

    <VerticalStackLayout Padding="20" Spacing="20">

        <!-- 1. Visible: red square -->
        <ImageButton BackgroundColor="Red"
                     WidthRequest="50" HeightRequest="50"
                     HorizontalOptions="Start"/>

        <!-- 2. Visible: red circle (radius = half of size) -->
        <ImageButton BackgroundColor="Red" CornerRadius="25"
                     WidthRequest="50" HeightRequest="50"
                     HorizontalOptions="Start"/>

        <!-- 3. BUG: completely invisible (radius > half of size) -->
        <ImageButton BackgroundColor="Red" CornerRadius="100"
                     WidthRequest="50" HeightRequest="50"
                     HorizontalOptions="Start"
                    Clicked="ImageButton_Clicked"/>/>

    </VerticalStackLayout>
</ContentPage>
private void ImageButton_Clicked(object sender, EventArgs e)
	{
		DisplayAlert("ImageButton Clicked", "You clicked the image button!", "OK");
	}
ImageButton_CornerRadius.mov

Link to public reproduction project repository

No response

Version with bug

10.0.110

Is this a regression from previous behavior?

No, this is something new

Last version that worked well

No response

Affected platforms

iOS, macOS

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

Activity

  1. NirmalKumarYuvaraj commented on Oct 20, 2026

    @NirmalKumarYuvaraj
    Contributor

    This issue has been validated in Visual Studio Code 1.142.0 with .NET MAUI versions 10.0.0, 10.0.50 and 10.0.110. It is reproducible on the iOS and mac platform from 10.0.0 version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    partner/syncfusionIssues / PR's with Syncfusion collaborationplatform/iosplatform/macosmacOS / Mac Catalysts/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions