Skip to content

Open select with enter key #300

@darrensw777

Description

@darrensw777

Is there a way to open the dropdown with the enter key?

I've seen this example but would prefer a functional component way as opposed to a class: https://codesandbox.io/s/open-on-top-w1yr0 - also, this works well, but when tabbing to the dropdown again, it opens automatically on focus, which is probably not the desired effect.

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