Skip to content

Commit 3db2493

Browse files
committed
docs(CommentComposer): the stop keeps a reply composer's thread open; an edit composer's thread is not selectable
1 parent 65947ee commit 3db2493

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎packages/lab/src/Comments/CommentComposer.tsx‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -591,8 +591,9 @@ export function CommentComposerBase({
591591
)}
592592
onClick={event => {
593593
onRootClick?.(event);
594-
// In a thread, a press on the composer's empty space would otherwise
595-
// reach the thread and collapse it.
594+
// Inside a thread, the click stays in the composer. A press on a
595+
// reply composer's empty space would otherwise reach the thread and
596+
// collapse it.
596597
if (isInThread) {
597598
event.stopPropagation();
598599
}

0 commit comments

Comments
 (0)