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

RadioMenuFlyoutItem does not de-select when IsChecked is explicitly set to True #19090

Open
kazo0 opened this issue Dec 16, 2024 · 0 comments
Open
Labels
difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification

Comments

@kazo0
Copy link
Contributor

kazo0 commented Dec 16, 2024

Current behavior

Given the following XAML

<Button Content="Options">
	<Button.Flyout>
		<MenuFlyout>

			<RadioMenuFlyoutItem Text="Landscape"
								 GroupName="OrientationGroup"
								 IsChecked="True" />

			<RadioMenuFlyoutItem Text="Portrait"
								 GroupName="OrientationGroup" />

			<MenuFlyoutSeparator />

			<RadioMenuFlyoutItem Text="Small"
								 GroupName="SizeGroup" />

			<RadioMenuFlyoutItem Text="Medium"
								 IsChecked="True"
								 GroupName="SizeGroup" />

			<RadioMenuFlyoutItem Text="Large"
								 GroupName="SizeGroup" />
		</MenuFlyout>
	</Button.Flyout>
</Button>

I properly see this upon opening the Flyout:

image

But, if I were to select a different item with the same GroupName, it properly selects the newly clicked item but it does not deselect the item that originally had IsChecked="True" set in the XAML

Upon Clicking Small:

On Uno Platforms:
image

On Windows:
image

Repro app: UnoApp125.zip

Expected behavior

Upon clicking Small, we should only see the Small item as being checked and the Medium item should no longer be checked

@kazo0 kazo0 added kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. labels Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification
Projects
None yet
Development

No branches or pull requests

1 participant