Skip to content

Event swallowed when pressing Enter #212

@kembuco

Description

@kembuco

Currently pressing enter when the select list isn't open causes the keypress event to be swallowed. Preventing the default behavior of enter when the select list is open seems like the right behavior. However, it prevents things like form submission if the list is closed.

I can submit a pull request with a fix for this. Basically, it just adds an else clause that returns if the select list isn't open.

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