Skip to content

Global true not working when focus is on the input. #100

@dholakiyaankit

Description

@dholakiyaankit
 <HotKeys handlers=
                {
                    {
                        //Declare short cut keys 
                        'ctrl+alt+p': (e) => this.BindKeyBoardEvents(e, Constants.Properties),                    
                    }
                } focused={true} attach={window} global={true} >

I have global filter inside this I have dynamic inputs, based on the user's selection its creating the textboxes in the UI, HotKeys works in all scenarios except when input is in focus

<input name={record.uniqueId} type={record.Type.toLowerCase()} onKeyDown={(e)=>this.UpdateElementStateValue(e)}
                                onChange={(e) => this.PropertyChange(record, e)} className="form-control" value={record.RuntimeValue} />

Here's my input when I am in focus of that the short keys not working.

Can you please let me know what I am doing wrong?

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