Skip to content

Virtual whiteboard for sketching hand-drawn like diagrams

fix: elbow arrows do not work within frames (issue: #8964) (#8969)

zsviczian3b9ffd958615
diff --git a/packages/excalidraw/element/binding.ts b/packages/excalidraw/element/binding.ts
index aa6cff2493..9c1b2447c8 100644
--- a/packages/excalidraw/element/binding.ts
+++ b/packages/excalidraw/element/binding.ts
@@ -40,6 +40,7 @@ import {
isBoundToContainer,
isElbowArrow,
isFixedPointBinding,
+ isFrameLikeElement,
isLinearElement,
isRectangularElement,
isTextElement,
@@ -575,7 +576,7 @@ export const getHoveredElementForBinding = (
zoom,
// disable fullshape snapping for frame elements so we
// can bind to frame children
- fullShape,
+ fullShape && !isFrameLikeElement(element),
),
);