githubnext/chopinPublic

Let's compose rich plans together

Keep a focused or open comment marker on screen

A marker whose thread is pinned, or which has keyboard focus, stays
clamped to the nearest document edge when its passage scrolls away, so
focus is not dropped and the open card keeps its anchor.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
C5MAMaggie Appleton and Claude Opus 5.5 authored
2bcfa98Patch
Parent338f36b
4 files changed+49-6
StackedSplit
e2e/responsive-comments.e2e.ts+17 −0
packages/editor/src/comment-geometry.test.ts+10 −0
packages/editor/src/comment-geometry.ts+4 −3
packages/editor/src/comment-layer.tsx+18 −3