MicrosoftEdge / MicrosoftEdge/WebView2Feedback

[Problem/Bug]: Drag and drop locks up control

Open
#5,141 6 comments 0 reactions 1 assignee View on GitHub

@Navdeep-ss is already working on this.

Since Mar 10, 2025.

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

Description

What happened?

Dragging a page element such as an image or some highlighted text in a WinUI 3 app severely misbehaves, causing the WebView2 control to stop responding to mouse input until clicked. Doing this multiple times can cause the control to lock up indefinitely.

This bug has been present for at least a year. The first report I could find of it is https://github.com/microsoft/microsoft-ui-xaml/issues/9187 in the WinUI repo, which includes some great repro steps and a video demo. It has never been acknowledged, so I am raising the issue here in hopes of getting it fixed.
The bug is preventing important functionality such as dragging emails to another folder in Microsoft Outlook.

Importance

Moderate. My app's user experience is affected, but still usable.

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

No response

SDK Version

No response

Framework

WinUI3/WinAppSDK

Operating System

Windows 11

OS Version

26120.3360

Repro steps
  1. Drag an element, e.g. an image or highlighted text. Observe nothing happening during the drag and the mouse pointer not changing. The control stops processing pointer input.
  2. Click somewhere on the WebView2. Observe a file icon corresponding to the dragged content's type appearing at the pointer's position and getting stuck there. The displayed mouse pointer is still wrong, but the control is processing pointer input correctly again.
  3. Click the WebView2 again. Observe the file icon disappearing and the control returning to a normal state.
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

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.