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
fix: group-into-new-area anchors the new frame at its members, not the trigger click
The reported "jumps to the bottom of the board" bug was NOT the
hypothesized nil-Position packer path -- select-then-group always
persists a real Position. The actual bug: the new container's Position
came from the triggering UI element's screen point (a member's
right-click, or worst case the selection tray's own bottom-center
Group button / bare-G, both anchored at the floating tray's rect) via
screenToFlowPosition, never the grouped members' own rendered spot.
useAtlasCreation's groupRequest effect now anchors the new container
at computeEnclosedBoundingBoxOrigin's bounding-box top-left over the
enclosed members' current freeMoves-aware boxes (AtlasBoard.tsx's
topLevelBoxes/noteBoxes, hoisted above useAtlasCreation so they're
available when the request is handled), falling back to the click
point only if no member box resolves.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FW5GkkAG8du7tNdYLk2zSd
0 commit comments