Skip to content

trigger event when ctrl key up in tree #1760

@Lakmi15

Description

@Lakmi15
  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

currently, I'm using select method in tree component with multiple node select with ctrl key. but I'm looking event for ctrl key up in tree component.

async onTreeNodeSelectHandler(selectedKeys: any, event: any) {

    if (event.nativeEvent.ctrlKey === true){

}

inorder to fire this event I need to click on top of tree node. when I release ctrl key I want to do some logic without a click on other nodes.
are there any ways trigger ctrl key up event in tree component

What does the proposed API look like?

better can add key up and down listener event capture keyword input.

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