Skip to content

[Feature]: Add event on the Context Menu when it closes after an option or function was selected. #5520

@PCRacer

Description

@PCRacer

Describe the feature/enhancement you need

Could you add an event when the Context menu closes after an option or function was selected.

ContextMenu.OnClose or ContextMenu.ActionTaken

Thank you.

The scenario/use case where you would use this feature

When an installed extension function, or listed option was selected or click on, the Context Menu closes.

I would like to take action when the Context Menu closes in order to set variables to handle the Context Menu close action e.g. Create a NewTab or Tab Change or Tab Changing etc.

How important is this request to you?

Impactful. My app's user experience would be significantly compromised without it.

Suggested implementation

When an extension function, or listed option was selected or click on, the Context Menu closes.

I would like to take action when the Context Menu closes in order to set variables to handle the Context Menu close action e.g. Create a NewTab or Tab Change or Tab Changing etc.

What does your app do? Is there a pending deadline for this request?

When ever you get the time, but it would be most helpful if you did add this feature. It would enhance the functioning of the WebView2 runtime control if this is implemented.

Thank you.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions