fix(rack): ensure dnd-kit DragOverlay ignores pointer events to fix hit-testing

This commit is contained in:
2026-03-22 11:37:14 -05:00
parent df04bb2c78
commit a13c52d3e3
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -277,7 +277,7 @@ export function RackPlanner() {
</div>
</div>
<DragOverlay dropAnimation={null}>
<DragOverlay dropAnimation={null} className="pointer-events-none" zIndex={999} style={{ pointerEvents: 'none' }}>
{activePaletteType && <DragOverlayItem type={activePaletteType} />}
{activeDragModuleLabel && <ModuleDragOverlay label={activeDragModuleLabel} />}
</DragOverlay>