mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-01 13:21:37 +02: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:
@@ -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()}
|
||||
|
||||
Reference in New Issue
Block a user