[priority: medium] AttunementsTab: Remove scrollable view, use natural page scroll instead #181
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
The AttunementsTab renders attunement cards inside a
<ScrollArea>with a hard-coded 600px height, creating nested scroll contexts (page scroll + inner scroll). This makes scrolling through attunements buggy and unpredictable.Current Implementation
File:
src/components/game/tabs/AttunementsTab.tsxlines 184–192:Fix
Remove the
<ScrollArea>wrapper entirely and let the card grid flow naturally in the page layout. The grid<div>should be rendered directly, and the natural page scroll handles overflow.Affected Files
src/components/game/tabs/AttunementsTab.tsx— lines 184–192 (remove ScrollArea), line 10 (remove import)Starting work on all 3 AttunementsTab issues (#181, #182, #183). Beginning with #181: removing ScrollArea wrapper.
Removed ScrollArea wrapper from AttunementsTab. Cards now flow naturally in the page layout using the grid div directly. No more nested scroll contexts.