Фикс стрелок

This commit is contained in:
NikitaKalitov
2026-07-20 13:07:57 +03:00
parent da7e022f50
commit 6e880963ab
2 changed files with 27 additions and 13 deletions
+8 -1
View File
@@ -30,8 +30,15 @@
background: color-mix(in srgb, canvastext 8%, canvas);
}
/*
* opacity/pointer-events, not display:none — hiding via display collapses the
* handle to 0x0, and xyflow computes edge paths from the handle's actual
* layout position, so every edge that references a handle id would snap to
* a degenerate point the moment view mode hid it.
*/
.diagram-flow--view-mode .react-flow__handle {
display: none;
opacity: 0;
pointer-events: none;
}
/*