Skip to content

Preventing the default behavior of the "system-context-menu" event causes the drag region ineffective. #48179

@songlang1994

Description

@songlang1994

Preflight Checklist

Electron Version

36.8.1

What operating system(s) are you using?

Windows

Operating System Version

Windows 11 24H2

What arch are you using?

x64

Last Known Working Electron version

No response

Does the issue also appear in Chromium / Google Chrome?

No

Expected Behavior

​​The drag region should not be affected after preventing the default behavior of the "system-context-menu" event

Actual Behavior

The drag region stops responding to actions like dragging or double-clicking after preventing the default behavior of the "system-context-menu" event.

Right-clicking on it again makes it start working normally.

Testcase Gist URL

https://gist.github.com/songlang1994/fd6e689afd79ffb71482d353adc5e796

Additional Information

No response

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions