diff --git a/packages/material-ui-lab/src/TreeItem/TreeItem.js b/packages/material-ui-lab/src/TreeItem/TreeItem.js index ae7be28aeadca7..2066db063642a7 100644 --- a/packages/material-ui-lab/src/TreeItem/TreeItem.js +++ b/packages/material-ui-lab/src/TreeItem/TreeItem.js @@ -150,7 +150,7 @@ const TreeItem = React.forwardRef(function TreeItem(props, ref) { let flag = false; const key = event.key; - if (event.altKey || event.ctrlKey || event.metaKey) { + if (event.altKey || event.ctrlKey || event.metaKey || event.currentTarget !== event.target) { return; } if (event.shift) {