mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-14 08:34:25 +03:00
Merge pull request #3445 from tylershuster/keyboard-navigation
chat: added ability to blur chat editor
This commit is contained in:
commit
05adb18a8a
@ -116,6 +116,9 @@ export default class ChatEditor extends Component {
|
||||
extraKeys: {
|
||||
'Enter': () => {
|
||||
this.submit();
|
||||
},
|
||||
'Esc': () => {
|
||||
this.editor?.getInputField().blur();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user