-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
'Tab' button does not work when shift button from last button #7064
Comments
repro on windows with vs 17.3.0 Preview 2.0 [32515.5.main]. repro project: |
Hi, @AllenMiaoFil - thanks for bringing this to our attention. This behavior you describe seeing on Windows is the same as the WinUI platform behavior, and therefore is actually the current expected behavior. While That being said, if you have any specific scenarios to share or any further thoughts/ideas for how keyboard navigation should work, please do share, as we will be further developing on it in the future. |
Hi @AllenMiaoFil. We have added the "s/needs-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time. |
Hey @rachelkang For now I have no requirement for this one, just when I open application, I found 'Tab' doesn't work any more on last button, and can't use Shift + Tab when stay on first button. it's different with other applications. |
@AllenMiaoFil You mention that it doesn't work "any more" - when is the last time you saw it working on .NET MAUI? And if you don't mind sharing, what other applications is this working as you expect it to? This information will help us investigate further :) |
@AllenMiaoFil I've just learned that Windows has a property to change the keyboard navigation mode to reflect just what you're looking for! The property is called You can learn more about .NET MAUI handlers here: https://docs.microsoft.com/dotnet/maui/user-interface/handlers/customize For this scenario, putting this bit of code in your code-behind and then calling on it from the constructor will do the trick :) void ModifyTabNavigation()
{
Microsoft.Maui.Handlers.LayoutHandler.Mapper.AppendToMapping("MyCustomization", (handler, view) =>
{
#if WINDOWS
handler.PlatformView.TabFocusNavigation = Microsoft.UI.Xaml.Input.KeyboardNavigationMode.Cycle;
#endif
});
} Let me know if you have any further questions :) |
Hi @AllenMiaoFil. We have added the "s/needs-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time. |
Hey @rachelkang, I think you mentioned is an other question, for right now, can you repro what I mentioned with the 'Steps to Reproduce'? maybe we are not in same page. |
Hi, @AllenMiaoFil - yes, I'm able to repro what you mentioned in the "Steps to Reproduce" you provided, and the code I shared helps to remedy that so you can "Tab" from the last button back to the first as you wish. Here's an updated sample incorporating the code mentioned: |
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process. |
Hi @AllenMiaoFil. We have added the "s/needs-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time. |
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate. |
Description
The 'Tab' functionality does not work any more when you shift button with 'Tab' from the last button to first button.
And There is no focus functionality in MacOS, has created bug here
Steps to Reproduce
Version with bug
Release Candidate 2
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
Window 10
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: