Skip to content

fix(client): scry/surveil dialog scrolls to reach all cards at large counts#5416

Merged
matthewevans merged 1 commit into
mainfrom
ship/scry-surveil-scroll
Jul 9, 2026
Merged

fix(client): scry/surveil dialog scrolls to reach all cards at large counts#5416
matthewevans merged 1 commit into
mainfrom
ship/scry-surveil-scroll

Conversation

@matthewevans

Copy link
Copy Markdown
Member

The Reorder.Group combined justify-center and overflow-x-auto on one flex
element, so at large scry/surveil counts the leading cards were centered into
negative scroll space that scrollLeft (>= 0) can never reach — only the last
~20 cards were viewable. Separate centering from scrolling: an outer
overflow-x-auto container wraps a w-max mx-auto group (auto-centers when it
fits, collapses-and-stays-reachable when it overflows). Drag-reorder is
preserved (Reorder.Group stays the flex/drag parent). useHorizontalScroll is
parameterized {drag:false} for this framer-managed path (wheel kept, drag
suppressed to avoid fighting Reorder).

…counts

The Reorder.Group combined justify-center and overflow-x-auto on one flex
element, so at large scry/surveil counts the leading cards were centered into
negative scroll space that scrollLeft (>= 0) can never reach — only the last
~20 cards were viewable. Separate centering from scrolling: an outer
overflow-x-auto container wraps a w-max mx-auto group (auto-centers when it
fits, collapses-and-stays-reachable when it overflows). Drag-reorder is
preserved (Reorder.Group stays the flex/drag parent). useHorizontalScroll is
parameterized {drag:false} for this framer-managed path (wheel kept, drag
suppressed to avoid fighting Reorder).
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@matthewevans matthewevans enabled auto-merge July 9, 2026 04:27
@matthewevans matthewevans added this pull request to the merge queue Jul 9, 2026
Merged via the queue into main with commit 82d27eb Jul 9, 2026
13 checks passed
@matthewevans matthewevans deleted the ship/scry-surveil-scroll branch July 9, 2026 05:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant