[Medium] Droppable highlight applied to ALL bins simultaneously #47
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
File: screens-library.jsx:242-245
Severity: Medium
isDragTarget = draggingAssetId !== null adds the droppable class to every bin as soon as any drag starts. No per-target enter/leave tracking, so all bins get the dashed outline simultaneously.
Fix: Track dragOverBinId state and only add droppable to the bin being hovered via onDragEnter/onDragLeave.