What happened?
A long-press on touch screen devices on a webpage loaded in WebView2 doesn't show the Context Menu, while right click using mouse or touchpad works fine.
Importance
Blocking. My app's basic functions are not working due to this issue.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
142.0.3595.53
SDK Version
No response
Framework
WinUI2/UWP
Operating System
Windows 11
OS Version
No response
Repro steps
- Open https://google.com in a WebView2 control on a computer with touchscreen available.
- Right-click on the About link using mouse/trackpad and notice the context menu opens correctly.
- Long-press on touchscreen on the same About link. Nothing shows up. Screen will freeze a bit. Need to move the mouse/trackpad to reset the page to bring it back to life.
- Note that long-press on touchscreen on the page without any link/image works fine.
Repros in Edge Browser
No, issue does not reproduce in the corresponding Edge version
Regression
Don't know
Last working version (if regression)
No response