-
Notifications
You must be signed in to change notification settings - Fork 55
[Problem/Bug]: mouseleave doesn't fire on leaving client anymore #5232
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
Comments
This is a known issue Chromium bug - https://issues.chromium.org/issues/414437602 . The fix is available in all the versions but Beta and Stable versions with fix are not released yet. Could you kindly test with latest Canary and see if the issue is fixed? |
I'm struggling finding a download for the Canary version of the runtime, can you link it? |
Download Microsoft Edge Canary from https://www.microsoft.com/en-us/edge/download/insider?cc=1&cs=3896570988&form=MA13FJ Please follow the steps mentioned here to switch to preview channel - https://learn.microsoft.com/en-us/microsoft-edge/webview2/how-to/set-preview-channel?tabs=api |
Alright, sorry. But if there's no direct download to just the runtime I'll just go back to an older working runtime for now. |
same as tooltip issue? |
Fix is available in >=136.0.3240.64 Runtime. |
What happened?
Since today (was working fine yesterday), the mouseleave event doesn't fire upon leaving the client area. (e.g. if you're attaching a listener to document.body), to make it work now you'd need to set margin/padding on the body)
It still behaves normally if you're holding down a mouse button pre-mouseleave however.
I have also checked older untouched projects, with their own separate data directory, and it's affected on all of them, so I'm pretty sure it's due to a WebView2 update.
Importance
Important. My app's user experience is significantly compromised.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
136.0.3240.50
SDK Version
No response
Framework
Other
Operating System
Windows 11
OS Version
26100.2314
Repro steps
Attach a mouseleave listener to document.body and watch it not get fired upon mouse leaving the window.
(Assuming there's no margin/padding)
Repros in Edge Browser
No, issue does not reproduce in the corresponding Edge version
Regression
Regression in newer Runtime
Last working version (if regression)
I don't know, probably any before the mentioned runtime?
The text was updated successfully, but these errors were encountered: