MicrosoftEdge / MicrosoftEdge/WebView2Feedback

[Problem/Bug]: In UWP WebView2, on a touchscreen, long-press on link doesn't show context menu, while mouse/touchpad right-click does

Open
#5,439 4 comments 0 reactions 1 assignee View on GitHub

@chetanpandey1266 is already working on this.

Since Nov 17, 2025.

bug tracked
Dominant language
PowerShell
Stars
526
Forks
67
PR merge metrics
No merged PRs in 30d

Description

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
  1. Open https://google.com in a WebView2 control on a computer with touchscreen available.
  2. Right-click on the About link using mouse/trackpad and notice the context menu opens correctly.
  3. 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.
  4. 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

AB#60462793

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.