mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-28 06:10:01 -05:00
Fix switching tabs making the item pool unresponsive
Probably this is hiding the underlying issue but at least it does fix it from testing. Anyway they would not be mid-drag when switching tabs so this should be harmless to do.
This commit is contained in:
@@ -162,6 +162,7 @@ function TierListMakerContent() {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<DndContext
|
<DndContext
|
||||||
|
key={itemType}
|
||||||
sensors={sensors}
|
sensors={sensors}
|
||||||
collisionDetection={pointerWithin}
|
collisionDetection={pointerWithin}
|
||||||
onDragStart={handleDragStart}
|
onDragStart={handleDragStart}
|
||||||
|
|||||||
Reference in New Issue
Block a user