Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MenuFlyout text color has the wrong theme when the IsEnable property is changed in CodeBehind and the application theme is different from the OS theme #9662

Open
rlom opened this issue May 22, 2024 · 1 comment
Labels
area-Styling team-Controls Issue for the Controls team

Comments

@rlom
Copy link

rlom commented May 22, 2024

Describe the bug

I created a button with a MenuFlyout with three MenuFlyoutItem. When I click the first one, the next two switch to the Disabled state. However, when the application theme is different from the OS theme, the text is the wrong color.

Steps to reproduce the bug

1- I created a button with a MenuFlyout with three MenuFlyoutItem.
image

2- Create a click event on the first MenuFlyout item that changes the IsEnable property to false.
image

3- Put a different theme in your application than the OS theme.

Expected behavior

The color of the text must be in accordance with the theme, fully visible.

Screenshots

image

FlyoutSOThemeProblem

NuGet package version

Windows App SDK 1.5.3: 1.5.240428000

Packaging type

Packaged (MSIX)

Windows version

Windows 10 version 2004 (19041, May 2020 Update)

IDE

Visual Studio 2022

Additional context

No response

@codendone codendone transferred this issue from microsoft/WindowsAppSDK May 23, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label May 23, 2024
Copy link

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@codendone codendone added area-Styling team-Controls Issue for the Controls team and removed needs-triage Issue needs to be triaged by the area owners labels May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Styling team-Controls Issue for the Controls team
Projects
None yet
Development

No branches or pull requests

2 participants