Fix tier list maker tab switch scrolling to the top
Some checks failed
E2E Tests / e2e (push) Has been cancelled
Tests and checks on push / run-checks-and-tests (push) Has been cancelled
Updates translation progress / update-translation-progress-issue (push) Has been cancelled

The key was added in e1da2741d ("Fix switching tabs making the item pool
unresponsive") as a workaround for an unknown root cause. The drag & drop
code has changed a lot since then, and dragging with mouse or touch in any
direction after switching tabs now works without the remount, so this
removes it.
This commit is contained in:
Kalle
2026-09-23 21:17:58 +03:00
parent 359390292a
commit b2efb696f1
2 changed files with 5 additions and 1 deletions

View File

@@ -194,7 +194,6 @@ function TierListMakerContent() {
</div>
<DndContext
key={itemType}
sensors={sensors}
collisionDetection={tierAwareCollisionDetection}
modifiers={[restrictTierDragToVerticalAxis]}

View File

@@ -0,0 +1,5 @@
---
navItem: tier-list-maker
type: bug
---
Switching tabs in the tier list maker no longer scrolls you back to the top of the page