Skip to content

Unhandled keyDown events are not propagated along the responder chain #20943

@RaoulSeifertEnscape

Description

@RaoulSeifertEnscape

Describe the bug

There is currently no way to get the unhandled keyDown events on macOS. All keyDown events get consumed by Avalonia and none are forwarded to the next responder, regardless of them being handled in Avalonia or not.
This contradicts the behaviour on Windows where unhandled key events are offered to other event consumers.

To Reproduce

Create a Avalonia project and add a custom NSResponder as the nextResponder to the AvnView.
This custom responder will receive all of the keyUp events but none of the keyDown events.

Expected behavior

The nextResponder of the AvnView should receive the keyDown events for keys that were not handled within Avalonia

Avalonia version

11.3.11

OS

macOS

Additional context

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