-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Arrow endpoint shows at shape boundary even when shape is clipped by frame #7824
Description
Description
When an arrow connects to a shape that is inside a frame, and that shape extends beyond the frame boundary, the arrow endpoint terminates at the shape's boundary rather than at the frame's boundary where the shape is visually clipped.
Steps to reproduce
- Create a frame
- Add a shape (e.g., a note or rectangle) inside the frame
- Position the shape so it extends beyond the frame boundary (it will be clipped)
- Draw an arrow from outside the frame, connecting to the shape
Expected behavior
The arrow should terminate at the frame boundary, since that's where the shape visually ends due to clipping.
Actual behavior
The arrow terminates at the shape's actual boundary, which is inside the frame but beyond where the shape is visible. This creates a visual disconnect where the arrow appears to point into empty space within the frame.
Screenshot
Additional context
This affects the visual coherence of diagrams where frames are used to group and clip content. The current behavior technically follows the shape's geometry, but the user expectation is that arrows should respect the visual appearance of the canvas.