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

Pressing the Tab key on the last focusable element freezes the application #1

Open
datadiode opened this issue Sep 30, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@datadiode
Copy link
Owner

datadiode commented Sep 30, 2023

An apparently related issue is being investigated in the context of MicrosoftEdge/WebView2Feedback#951.
A known workaround is to set an environment variable like so:
COREWEBVIEW2_FORCED_HOSTING_MODE=COREWEBVIEW2_HOSTING_MODE_WINDOW_TO_VISUAL
The downside is that this completely defeats normal Tab key handling inside the page.

Somewhat related: https://codingguides.quinnscomputing.com/2022/05/how-to-allow-moving-focus-to-and-from.html presents an idea how to have a WebView2 control take part in the superordinate tab sequence.

@datadiode datadiode added the bug Something isn't working label Oct 1, 2023
datadiode added a commit that referenced this issue Oct 1, 2023
…ap to make it less ugly on non-white backgrounds
datadiode added a commit that referenced this issue Oct 1, 2023
…ap to make it less ugly on non-white backgrounds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant