mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
fix inputs not blurring when pressing enter
Signed-off-by: Andreas Schmidt <ndrscodes@gmail.com>
This commit is contained in:
parent
0be1ab4ce0
commit
1eef2bca2b
@ -283,6 +283,9 @@ export class Input extends React.Component<InputProps, State> {
|
||||
} else {
|
||||
this.setDirty();
|
||||
}
|
||||
|
||||
//pressing enter indicates that the edit is complete, we can unfocus now
|
||||
this.blur();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user