#39017·maui

[Windows] Button flickers when BackgroundColor is set to Transparent

Author: MariyaHadzhievaCreated Sep 30, 2026Updated Sep 30, 2026
Labelst/bugplatform/windowss/verifiedarea-controls-buttons/triaged

Description

On Windows, a .NET MAUI Button flickers when its normal BackgroundColor is set to Transparent and its PointerOver visual state applies a semi-transparent color over a white background.

Steps to Reproduce

  1. Create a new .NET MAUI app targeting Windows.
  2. Set the page background to white.
  3. Define a base Button style with a PointerOver visual state.
  4. Set the PointerOver background to a semi-transparent white color, such as #B2F9F9F9.
  5. Define a second button style based on the base style.
  6. Override only the derived style’s normal background with Transparent.
  7. Add two buttons to the page: one using the base style and one using the transparent derived style.
  8. Run the app on Windows.
  9. Move the pointer repeatedly into and out of the transparent button.

Expected Behavior The button should transition smoothly between its transparent normal state and the semi-transparent PointerOver state.

Actual Behavior The transparent button flickers during the pointer transition. The issue occurs whether the hover color is referenced with DynamicResource or StaticResource.

Link to public reproduction project repository

https://github.com/telerik/ms-samples/tree/main/Maui/TransparentButtonHoverIssue

Version with bug

11.0.0-rc.1

Is this a regression from previous behavior?

No, this is something new

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

bash