diff --git a/frontend/src/components/Timeline.jsx b/frontend/src/components/Timeline.jsx index 6577797..2a2fd6e 100644 --- a/frontend/src/components/Timeline.jsx +++ b/frontend/src/components/Timeline.jsx @@ -258,6 +258,12 @@ export default function Timeline({ } style={{ top: `${top}px`, height: `${height}px`, ...columnStyle(col, cols) }} onPointerDown={(e) => { + // stopPropagation - ДО beginDrag: если блок locked, beginDrag выходит + // раньше своего e.stopPropagation(), и pointerdown иначе всплывает + // на .tl-canvas (onPointerDown={() => onSelectId(null)}), тут же сбрасывая + // только что установленное выделение - баг "подсвечивается и тут же + // глючит" на заблокированных (FIXED/неактивных) блоках. + e.stopPropagation() onSelectId(item.id) beginDrag(e, item, 'move') }}