mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #14746 from overleaf/td-review-panel-empty-comment-edit
React review panel: populate comment box when editing GitOrigin-RevId: ba284bd419dd507eef17847b5f4c55b8fd8338f5
This commit is contained in:
parent
a66e1329df
commit
1dc3d12c1d
1 changed files with 1 additions and 0 deletions
|
@ -67,6 +67,7 @@ function Comment({ thread, threadId, comment }: CommentProps) {
|
|||
{editing ? (
|
||||
<AutoExpandingTextArea
|
||||
className="rp-comment-input"
|
||||
defaultValue={comment.content}
|
||||
onKeyPress={handleSaveEditOnEnter}
|
||||
onBlur={handleSaveEdit}
|
||||
onClick={e => e.stopPropagation()}
|
||||
|
|
Loading…
Reference in a new issue