mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-26 13:17:15 -05:00
Fix tier list maker tab switch scrolling to the top
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:
@@ -194,7 +194,6 @@ function TierListMakerContent() {
|
||||
</div>
|
||||
|
||||
<DndContext
|
||||
key={itemType}
|
||||
sensors={sensors}
|
||||
collisionDetection={tierAwareCollisionDetection}
|
||||
modifiers={[restrictTierDragToVerticalAxis]}
|
||||
|
||||
5
changelog/2026-09-23-tier-list-maker-tab-scroll.md
Normal file
5
changelog/2026-09-23-tier-list-maker-tab-scroll.md
Normal 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
|
||||
Reference in New Issue
Block a user