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

WebView & WebView2 Do Not Properly Respond to Arrow Key Inputs #1072

Open
pinojojo opened this issue Apr 28, 2024 · 1 comment
Open

WebView & WebView2 Do Not Properly Respond to Arrow Key Inputs #1072

pinojojo opened this issue Apr 28, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@pinojojo
Copy link

Describe the bug

WebView and WebView2 do not properly respond to arrow key inputs. This problem specifically arises when the WebView is situated within a Page. In contrast, when the WebView is embedded in a ui:FluentWindow (like the gallery app's MonacoWindow), the arrow key inputs are handled correctly.

It seems that there might be a discrepancy in how key input events are managed between different container types. This issue can affect navigation and user interaction within the WebView when it's placed in standard pages.

To Reproduce

Open the gallery application and navigating to the WebView example page, Try to input random texts into the provided text box. use the left or right arrow keys does not alter the cursor position or navigate through the text, indicating that the arrow keys are non-functional in this context.
arrowkeyissue

Expected behavior

I would like the webview in typical navigatable Page can respond to arrow Key inputs correctly.

Screenshots

No response

OS version

Windows 11

.NET version

.Net 8.0

WPF-UI NuGet version

3.0.4.0

Additional context

No response

@pinojojo pinojojo added the bug Something isn't working label Apr 28, 2024
@pomianowski pomianowski self-assigned this Apr 29, 2024
@SecondNewtonLaw
Copy link

Can confirm, happens to me as well when using WebView2 on a page on an actual UI

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

3 participants