-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Backwards tab navigation cannot move focus away from a Windows Forms BlazorWebView #8293
Comments
@MackinnonBuck can you share the repro project please? |
Hi @MackinnonBuck. 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. |
I've added a repro project here: https://github.com/MackinnonBuck/BlazorWebViewWinFormsTabNavigationBug |
confirm same as above description. when the |
I was able to reproduce this issue when wrapping a |
Closing since this is a bug with the |
Description
When using backwards tab navigation (shift+tab) on the children of a
BlazorWebView
, focus cannot escape the WebView. When the first child of the WebView is focused, shift+tabbing results in the last child of the WebView receiving focus rather than the native control whose tab index precedes that of theBlazorWebView
.This does not reproduce on the Windows Forms
WebView2
control, so it does appear to be specific to Blazor Hybrid.Steps to Reproduce
Button
controls toForm1
, where the tab order goes "button1
>blazorWebView1
>button2
"button1
so it receives focus.button2
Version with bug
6.0.400 (current)
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
Tested on Windows 11 Enterprise, Version 21H2
Did you find any workaround?
I did not find a workaround.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: