Skip to content

Webview: traps keyboard events once focused #14258

@bpasero

Description

@bpasero
  • Electron Version: 3.0.0-beta.6
  • Operating System (Platform and Version): macOS
  • Last known working Electron version: 3.0.0-beta.5

Expected Behavior
The onkeydown event is fired when clicking into a webview contents and typing using the keyboard.

Actual behavior
The onkeydown event is not fired.

To Reproduce

This breaks VSCode's keyboard handling once focus is within a webview.

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