-
Notifications
You must be signed in to change notification settings - Fork 701
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
RadioButtons control does not support keyboard navigation in XAML islands #3156
Comments
This should be fixed with #3048 which is shipped with the newest WinUI 2.5 preview - Microsoft.UI.Xaml v2.5.0-prerelease.200812001. |
@Felix-Dev Is the Arrow key navigation issue fixed as well (which is the bigger issue as it renders the other radio buttons inaccessible)? |
@alekhyareddy28 I haven't explicitly checked arrow key navigation in XAML Islands, sorry. The linked PR #3048 only focused on fixing setting focus on the selected item. So my guess here would be that keyboard arrow navigation would still be broken for XAML Islands, but I can't tell for sure. Perhaps you could check this out in XAML Islands and report back if you are still seeing this issue? |
@Austin-Lamb and/or @JesseCol are there xy focus issues in xaml islands? (Winui 2) |
@Felix-Dev Wanted to get back to you after upgrading to Microsoft.UI.Xaml v2.5.0-prerelease.200812001. Both the issues still persist in XAML islands, ie. tab sets the focus on the first element irrespective of the radio button that is selected and arrow based navigation does not work. |
I am currently working on the RadioButtons control so I could take a look at this narrator issue as well while I'm at it. |
That would be great. Thank you! |
@kikisaints I seem to recall something about this narrator behavior but I can't recall specifics do you remember? After talking with the Islands team I think this is likely a RadioButtons issue as there are no known xy focus issue on islands |
@alekhyareddy28 could you please open a second issue for the narrator bug? :) |
Narrator issue of RadioButtons control - #3183. |
Terminal's hitting this as well- microsoft/terminal#9566 |
Any update for this issue? |
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
Surprisng nobody, this has not fixed itself. |
I took a look at this issue in a WinUI3 Xaml Islands app using Windows App SDK 1.4. I can repro the issue where the initial incorrect RadioButton receives focus. So it looks like the keyboard navigation problem has been resolved in WinUI3. I will investigate further the issue where the incorrect item receives initial focus. |
Describe the bug
The RadioButtons control (which is used to group multiple radio button controls together allows navigation as follows-
This is the built in expected behavior.
However, when the radio buttons control is used within XAML islands, pressing tab always takes the focus to the first item (not to the selected item). Keyboard navigation does not work.
Steps to reproduce the bug
Steps to reproduce the behavior:
Expected behavior
Screenshots
However, this navigation does not work within a XAML island.
Version Info
NuGet package version:
Microsoft.UI.Xaml.2.5.0-prerelease.200708003
Windows app type: UWP app within a XAML Island.
Additional context
Link to Issue in the PowerToys Page - microsoft/PowerToys#6032
The text was updated successfully, but these errors were encountered: