Files
openswarm/frontend
abccodes 28e3ac41d3 fix: clip selection overlay to the chat scroller for tall messages
SelectionOverlay portals to document.body and drew highlights at the raw
getBoundingClientRect() of the selected element, so a tall message bubble
let the blue overlay bleed past the chat panel onto the rest of the UI.
Walk up every overflow-clipping ancestor, intersect the rect with each,
and skip rendering when fully out of view. Applied to hover, persistent,
and drag-preview rects, with labels clamped to the clip top/left so they
never paint above the chat container.
2026-06-10 17:35:40 -07:00
..