Skip to content

preventDefault() not working for enter key #15

@ethorste

Description

@ethorste

Hi,

Thanks for this useful widget. The preventDefault() isn't preventing the enter from causing the default action. I was able to make it work by changing the event to "keydown" instead of keyup.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions