Fixed root bug for start node, fixed ctrl+l
This commit is contained in:
parent
26fe670965
commit
8f15664b88
2 changed files with 5 additions and 1 deletions
|
|
@ -234,6 +234,10 @@ class Tree extends Component {
|
|||
const n = this.selectedNode
|
||||
const Space = ' '
|
||||
|
||||
// This handler would otherwise react to stuff like Ctrl+L.
|
||||
if (event.ctrlKey || event.altKey)
|
||||
return
|
||||
|
||||
switch (event.key) {
|
||||
// Space and enter is toggling expansion.
|
||||
// Holding shift down does it recursively.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue