MicrosoftEdge / MicrosoftEdge/WebView2Feedback
[Problem/Bug]: WebView2CompositionControl doubleclick on webpage object is not working in .NET4.8 framework app
@venky8951 is already working on this.
Since Feb 14, 2025.
- Dominant language
- PowerShell
- Stars
- 526
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
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>`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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.