Skip to content

close() useCallback does not work with the button spacebar #27

@yamanoku

Description

@yamanoku

What's happen ?

The <button> element can be operated in the same way with the space key as well as the enter key.
But, the <button> element set in the useCallback close() does not respond to the space key.

Demo Video

Enter Key

Screen.Recording.2021-08-29.at.17.23.55.mov

Spacebar Key

Screen.Recording.2021-08-29.at.17.24.28.mov

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