fix(rack): ensure dnd-kit DragOverlay ignores pointer events to fix hit-testing
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user