Skip to content

Keypress "Enter" event consumed internally #154

Description

@ankit-alpha-q

I'am trying to capture event on enter, but my listeners are catching all key presses except for enter key.
Guess the event is used internally and prevented for outside use.

I have this listener event configured to my window(keydown):
keyDownEvent = (event) => { if (event.key === "Enter" && (event.ctrlKey || event.metaKey)) { this.send(); } };

all other key-presses are captured except for enter, when I'm typing inside the editor.

The event is prevented inside the component.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions