Skip to content

[feat] Webview Window Focusable Property #11130

@Ryan-Pell

Description

@Ryan-Pell

Describe the problem

There isn't the ability to create a window that is not focusable, like a onscreen keyboard. Electron has a BaseWindow property that can be set of focusable which then causes the window never to gain focus.

Describe the solution you'd like

This would be a property that is set on the WebviewWindow which will define if the window can take focus or not. The window should still be interactable with the user.

Alternatives considered

I have attempted to create the window and change the window style with WinApi but have not been successful in changing the styles. As I don't always know where the focus has come from I cannot always just give it back with a event when the focus is gained in the window.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions