Skip to content

[Feature]: Allow fullscreen element programmatically #5280

Open
@Poker-sang

Description

@Poker-sang

Describe the feature/enhancement you need

Although browsers have security concerns about prohibiting full-screen elements without user gestures, programs with embedded WebView2 sometimes need to allow the user to click on an external button to go fullscreen on an element.

Is it possible to make an element fullscreen via AdditionalBrowserArguments or CoreWebView2.PermissionRequested?

The scenario/use case where you would use this feature

Taking over the web player with WinUI3

How important is this request to you?

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

Suggested implementation

Allow fullscreen an element via AdditionalBrowserArguments or CoreWebView2.PermissionRequested

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

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions