mirror of
https://github.com/multica-ai/multica.git
synced 2026-07-05 13:29:44 +02:00
Pin each comment's header (root + replies) to the timeline's scroll parent while reading, so a long comment keeps its author + actions visible instead of scrolling out of reach. Exactly one header is pinned at a time: - Reply headers stick within their own CommentRow box (release at the reply's end). - The root header is wrapped in a root-section container so its sticky containing block spans only the header + root body — without it the containing block is the whole thread and the root header stays stuck behind every reply. Replies render outside the wrapper, gated on open. - Skip the root header sticky whenever a resolution collapse bar already owns the top-0 slot (root resolved+expanded, or reply-resolution expanded) to avoid two bars stacking at the same offset. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>