MicrosoftEdge / MicrosoftEdge/WebView2Feedback

Right-clicking on an element with `app-region: drag` shows title bar menu

Open
#3,565 5 comments 0 reactions 2 assignees View on GitHub

@Lakshmisha-KS is already working on this.

Since Feb 12, 2025.

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

Description

Description

Recently, support was added for the app-region CSS property, that allows developers to indicate which elements may be used to drag windows. Right-clicking such a region brings up the default title bar menu. I would expect this to show the default context menu, however I can understand why it does what it does (HTCAPTION message by any chance?). Perhaps this can be configurable?

Example

Right-clicking on non-draggable area:
image

Right clicking on draggable area:
image

Version
SDK: N/A
Runtime: 114.0.1823.43
Framework: Win32
OS: Windows 11 Pro 22H2 (22621.1778)

Repro Steps
Add app-region: drag to any element. Right click on that element.

AB#45248037

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.