diff --git a/components/lib/tree/UITreeNode.js b/components/lib/tree/UITreeNode.js index 8bbe59dd22..788c49f4bc 100644 --- a/components/lib/tree/UITreeNode.js +++ b/components/lib/tree/UITreeNode.js @@ -355,11 +355,17 @@ export const UITreeNode = React.memo((props) => { case 'Enter': case 'NumpadEnter': - case 'Space': onEnterKey(event); break; + case 'Space': + if(!['INPUT'].includes(event.target.nodeName)) { + onEnterKey(event); + } + + break; + default: break; }