Skip to content
This repository was archived by the owner on Jul 19, 2019. It is now read-only.
This repository was archived by the owner on Jul 19, 2019. It is now read-only.

handleKeyUp does not work for Enter key from 1.5.7 #250

@kyle306

Description

@kyle306

Hi,

In my project, I have to handle the event of typing enter key in the input. First I get the ref of the component (ref={el=>this.input=el}) and then overwrite the handler (this.input.handleKeyUp=function(proxy){...}) in the componentDidMount.

I used handleKeyUp instead of the handleKeyDown to prevent the multiple triggers of the action in tiny duration.

I find this approach does not work from 1.5.7 as pressing enter key does not trigger the key up event. Is there any approach to do so?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions