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

[Problem/Bug]: WebView2CompositionControl doubleclick on webpage object is not working in .NET4.8 framework app #5099

Open
wdedeveloper opened this issue Feb 12, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@wdedeveloper
Copy link

What happened?

When we implement WebView2CompositionControl to open webpage that contains code below. The double-click on paragraph isn't working.

`

Double-click this paragraph to trigger a function.

<script> function myFunction() { document.getElementById("demo").innerHTML += "Hello World "; } </script>`

Importance

Blocking. My app's basic functions are not working due to this issue.

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

132.0.2957.140

SDK Version

1.0.3065.39

Framework

WPF

Operating System

Windows 11

OS Version

22631.4751

Repro steps

The code snippet below with navigate to simple html code below is enough to reproduce the issue.
webviewapp.yaml code snippet.
`
<wv2:WebView2CompositionControl Name="webView" />

<wv2:WebView2CompositionControl Name="webView2"/>`

index.html code snippet.
`

Double-click this paragraph to trigger a function.

<script> function myFunction() { document.getElementById("demo").innerHTML += "Hello World "; } </script>`

WpfTestdotNetFW.zip

Repros in Edge Browser

No, issue does not reproduce in the corresponding Edge version

Regression

No, this never worked

Last working version (if regression)

No response

@wdedeveloper wdedeveloper added the bug Something isn't working label Feb 12, 2025
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