Skip to content

[Windows] Button flickers when BackgroundColor is set to Transparent #39017

Closed

Description

@MariyaHadzhieva

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

Activity

  1. added
    t/bug
    on Sep 30, 2026
  2. NafeelaNazhir commented on Sep 30, 2026

    @NafeelaNazhir
    Contributor

    This issue has been validated in Visual Studio Insiders [12202.211] with .NET MAUI versions 11.0.0-rc.1, 10.0.110 and 10.0.0. It can be reproduced on Windows platform.

    Screen.Recording.2026-09-30.184130.mp4
  3. added
    s/verified
    s/triaged
    on Sep 30, 2026
  4. added
    partner/syncfusion
    on Oct 1, 2026
  5. added
    partner
    on Oct 5, 2026
  6. kubaflo commented on Oct 12, 2026

    @kubaflo
    Contributor

    Thank you for the report and the investigation details. We are closing this as completed. PR #39253 directly fixes the Windows transparent Button hover flicker by avoiding native brush/theme refresh churn during transparent background transitions; no post-fix visual failure is recorded.

    Fixing changes: #39253 (merged into net11.0).

    This records the merged source changes; it does not imply that the fix is included in every released .NET MAUI package.

    If the original scenario still fails in a build that includes these changes, please comment here with the exact version and reproduction details so we can reopen and investigate. The existing reproduction remains available; a new issue is not required.

  7. locked and limited conversation to collaborators on Nov 12, 2026
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

    area-controls-buttonpartnerpartner/syncfusionplatform/windowss/triageds/verifiedt/bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions