You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 65947ee
Browse filesBrowse the repository at this point in the historyBrowse files
fix(CommentComposer): the caller's onClick runs, and a click bubbles outside a thread
CommentComposer set its own root onClick after the caller's props, so a
caller's `onClick` never ran, and it stopped every click from bubbling. The
caller's handler now runs first. Only a reply or edit composer inside a
thread stops the click, so a press on its empty space does not collapse the
thread.
Cherry-picked from #13738 (by @ernestt).
Co-authored-by: Ernest Tien <ernesttien@meta.com>
0 commit comments