[Medium] Droppable highlight applied to ALL bins simultaneously #47

Closed
opened 2026-05-24 14:05:03 -04:00 by zgaetano · 0 comments
Owner

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.

**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.
zgaetano added the
bug
label 2026-05-24 14:05:03 -04:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: WildDragonLLC/dragonflight#47
No description provided.