mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix(site): focus chat input after submitting diff comment (#23440)
This commit is contained in:
@@ -294,6 +294,7 @@ export const CommentableDiffViewer: FC<CommentableDiffViewerProps> = ({
|
||||
if (text.trim()) {
|
||||
chatInputRef?.current?.insertText(text);
|
||||
}
|
||||
chatInputRef?.current?.focus();
|
||||
setActiveCommentBox(null);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user