mirror of
https://github.com/urbit/shrub.git
synced 2024-12-24 03:14:30 +03:00
chat-editor: focus on reply
This commit is contained in:
parent
2bbff45c38
commit
726f0c1d58
@ -108,6 +108,7 @@ export default class ChatEditor extends Component {
|
||||
if (prevProps.message !== props.message) {
|
||||
this.editor.setValue(props.message);
|
||||
this.editor.setOption('mode', MARKDOWN_CONFIG);
|
||||
this.editor?.element?.focus();
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user