What happened?
I am using WebView2CompositionControl in a WPF app (.NET 10). If I have an js application inside, which is using mouseleave (pointerleave) or dragover events, it is not working properly (they are not firing). If I use the WebView2 control, everything is working.
You can find the reproducable example in this repo: https://github.com/DAST-Synchronics/WebView2CompositionBug
Importance
Important. My app's user experience is significantly compromised.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
1.0.4129.50
SDK Version
151.0.4129.86
Framework
WPF
Operating System
Windows 11
OS Version
10.0.26200
Repro steps
- Clone the following repo - https://github.com/DAST-Synchronics/WebView2CompositionBug and start it
- You will get two windows, one with WebView2CompositionControl and one with WebView2 and DevTools opened. There is a simple html/js example, in which you can test the functionality. The mouse and drag events are automatically logged. As you can see, in the case of the WebView2CompositionControl the mouseleave and dragover events are not logged, in case of the WebView2, everything works.
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
What happened?
I am using WebView2CompositionControl in a WPF app (.NET 10). If I have an js application inside, which is using mouseleave (pointerleave) or dragover events, it is not working properly (they are not firing). If I use the WebView2 control, everything is working.
You can find the reproducable example in this repo: https://github.com/DAST-Synchronics/WebView2CompositionBug
Importance
Important. My app's user experience is significantly compromised.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
1.0.4129.50
SDK Version
151.0.4129.86
Framework
WPF
Operating System
Windows 11
OS Version
10.0.26200
Repro steps
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