Skip to content

Shadow.Radius on Android13 [API 33] is broken #10401

Open

Description

@Stedy59

Description

<Shadow Opacity="1"
		Offset="10,10"
		Radius="50"
		Brush="Red"></Shadow>

on an Image and Label following: API 31 left / API 33 right

image

Steps to Reproduce

add shadow to XAML element

Link to public reproduction project repository

n/a

Version with bug

6.0.486 (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

Activity

  1. added
    legacy-area-controlsLabel, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor
    on Sep 29, 2022
  2. self-assigned this
    on Sep 30, 2022
  3. added this to the Backlog milestone on Sep 30, 2022
  4. jsuarezruiz commented on Sep 30, 2022

    @jsuarezruiz
    Contributor
  5. jsuarezruiz commented on Nov 18, 2022

    @jsuarezruiz
    Contributor
  6. jsuarezruiz commented on Nov 18, 2022

    @jsuarezruiz
    Contributor

    The TP1A.220905 build fixed that problem.

  7. Mous625 commented on Nov 24, 2022

    @Mous625

    Hi @jsuarezruiz, any news regarding this issue? Unfortunately, it is quite detrimental to my (and I'm sure many others) apps' design which was scheduled to be released for production this month.

  8. Stedy59 commented on Nov 28, 2022

    @Stedy59
    Author

    I checked against the new API 33 build and all was good. When will MS push out this new emulator build?

  9. Mous625 commented on Nov 28, 2022

    @Mous625

    @Stedy59 as far as I know the issue is only present in Android 13 - API 33

  10. Stedy59 commented on Nov 28, 2022

    @Stedy59
    Author

    Switch your Android SDK Manager to the Google feed and update your Android 13 - API33 emulator build to v7.
    That version includes the Android OS fix.

  11. Mous625 commented on Nov 28, 2022

    @Mous625

    @Stedy59 Indeed it fixes the issue (on emulator).

  12. 27 remaining items

  13. added this to the .NET 8 + Servicing milestone on Jan 10, 2024
  14. added
    p/2Work that is important, but is currently not scheduled for release
    and removed
    p/1Work that is important, and has been scheduled for release in this or an upcoming sprint
    on Jul 2, 2024
  15. albyrock87 commented on Jan 15, 2025

    @albyrock87
    Contributor

    #26789 will avoid shadow bitmaps if your Border uses a solid background.

  16. added
    s/try-latest-versionPlease try to reproduce the potential issue on the latest public version
    on Aug 13, 2026
  17. dotnet-policy-service commented on Aug 13, 2026

    @dotnet-policy-service
    Contributor

    Hi @@Stedy59. We have added the "s/try-latest-version" label to this issue, which indicates that we'd like you to try and reproduce this issue on the latest available public version. This can happen because we think that this issue was fixed in a version that has just been released, or the information provided by you indicates that you might be working with an older version.

    You can install the latest version by installing the latest Visual Studio (Preview) with the .NET MAUI workload installed. If the issue still persists, please let us know with any additional details and ideally a reproduction project provided through a GitHub repository.

    This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

  18. dotnet-policy-service commented on Aug 13, 2026

    @dotnet-policy-service
    Contributor

    Hi @Stedy59. We have added the "s/try-latest-version" label to this issue, which indicates that we'd like you to try and reproduce this issue on the latest available public version. This can happen because we think that this issue was fixed in a version that has just been released, or the information provided by you indicates that you might be working with an older version.

    You can install the latest version by installing the latest Visual Studio (Preview) with the .NET MAUI workload installed. If the issue still persists, please let us know with any additional details and ideally a reproduction project provided through a GitHub repository.

    This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

  19. removed
    s/try-latest-versionPlease try to reproduce the potential issue on the latest public version
    on Aug 14, 2026
  20. bobby-asure commented on Sep 4, 2026

    @bobby-asure

    Confirming this is still reproducing today on a recent .NET MAUI/.NET version, on a Samsung Android 13 device (API 33) — matches @GlacierFox's report above about the OEM build never picking up the Google BlurMaskFilter fix.

    Environment

    • Microsoft.Maui.Controls 10.0.100
    • .NET SDK 10.0.400
    • net10.0-android

    Repro: a Shadow with a negative Offset (so it bleeds outside the casting view's own bounds, e.g. Offset="0,-10") applied to a Grid, at low Opacity (~0.1). Expected a soft, gradually-fading darken of the adjacent content; actual result is a flat, hard-edged, uniformly-colored band with no visible blur regardless of Radius.

    One data point that may help narrow down a workaround for affected OEM builds: per the discussion here and in #26789, switching the shadow-casting element from a Grid/BoxView to a Border with a solid (opaque, StrokeThickness="0") background appears to take the Canvas-drawn "solid shape" shadow path rather than the bitmap/BlurMaskFilter path — worth calling out in the docs/workaround guidance for anyone hitting this on affected devices, since Grid/BoxView are easy to reach for and don't get that fast path.

    Thanks for keeping this open and triaged — happy to provide more repro detail if useful.

  21. bobby-asure commented on Sep 4, 2026

    @bobby-asure

    Follow-up: tested switching the shadow-casting element from a Grid to a Border with a solid, opaque, no-stroke background (per the discussion above and #26789) on the same affected Samsung Android 13 device. It did not resolve the issue — the shadow still renders as a flat, hard-edged band. Additionally, testing against a background that already has a light color tint nearby (not just plain white) made no visible difference either — the band looks equally solid/opaque either way, which suggests Opacity may not be respected at all on this device path, not just blur/Radius. Wanted to correct my earlier comment before it misleads anyone into thinking the Border workaround is reliable — for us it wasn't.

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

Metadata

Metadata

Assignees

Labels

area-drawingShapes, Borders, Shadows, Graphics, BoxView, custom drawinglegacy-area-controlsLabel, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editorp/2Work that is important, but is currently not scheduled for releaseplatform/androids/triagedIssue has been reviewedt/bugSomething isn't working

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions