[GH-ISSUE #3383] [Issue]: Character tab "Load more" bar overlaps character cards and blocks tapping them (mobile) #1830

Closed
opened 2026-10-21 05:43:05 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @kolacheee on GitHub (Jul 8, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3383

Originally assigned to: @SpicyMarinara on GitHub.

What's wrong

In the Characters tab, the "Load more" button is a bar pinned to the bottom of the list (it "stays still on one spot"). It sits on top of the character grid and swallows taps, so a character card that ends up underneath it can't be selected — most noticeable on a narrow/mobile viewport, where the pinned bar covers the bottom strip of the list right where you'd tap the lower characters.

How to reproduce (try it yourself)

  1. Have enough characters that the Characters tab shows the "Load more" button (i.e. more than one page).
  2. On a phone / narrow viewport (reported on the Android APK), scroll the character list so a character card sits behind the pinned "Load more" bar at the bottom.
  3. Tap that character.

You'll see: the tap doesn't select the character — it hits the "Load more" bar instead; the bottom card is effectively unclickable.
Expected: every character card is tappable; the "Load more" bar shouldn't cover or intercept taps meant for a card.

Where it is

packages/client/src/components/panels/CharactersPanel.tsx — the "Load more" container at lines 1397-1408 is sticky bottom-0 z-20 with an opaque background (bg-[var(--sidebar)]/95 + backdrop-blur-md):

<div className="sticky bottom-0 z-20 -mx-3 mt-2 border-t ... bg-[var(--sidebar)]/95 px-3 pt-2 pb-3 backdrop-blur-md">
  <button ... onClick={() => void characterPages.fetchNextPage()}> Load more (...) </button>
</div>

The scroll container is the panel root (line 683, ... overflow-y-auto p-3), and the sticky bar is a sibling after the card grid (grid closes at 1395). The card grid has no bottom padding reserving space for the bar, so cards can rest under it.

What's happening

A position: sticky element sits above the scrolling list in the stacking context (here z-20) and captures pointer events across its entire box — an opaque/semi-transparent background does not make it click-through (only pointer-events: none would). Because the grid reserves no space beneath the bar, whichever card is in the bar's footprint is both visually covered and untappable. On a short mobile viewport the bar occupies a proportionally large bottom strip, so the lower character(s) are routinely blocked.

Suggested fix

Reserve space so no card ever sits under the bar — e.g. add bottom padding to the scrollable card grid roughly equal to the bar's height (a pb-* on the grid, or a spacer), so the last row can scroll clear of the bar and the bottom-most character is always tappable. Alternatively, drop the overlap on mobile (render "Load more" inline at the end of the list rather than pinned), or shrink the pinned bar's footprint. Verify on a real phone / narrow viewport that the last character in the list can be tapped.


AI-investigated against the current tree; the sticky bar styling, the scroll container, and the absence of reserved space below the grid were read and confirmed. The exact tap-blocking was reasoned from the layout (not reproduced on a device) — please verify on a phone/narrow viewport before fixing.

Originally created by @kolacheee on GitHub (Jul 8, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3383 Originally assigned to: @SpicyMarinara on GitHub. **What's wrong** In the Characters tab, the "Load more" button is a bar pinned to the bottom of the list (it "stays still on one spot"). It sits **on top of** the character grid and swallows taps, so a character card that ends up underneath it can't be selected — most noticeable on a narrow/mobile viewport, where the pinned bar covers the bottom strip of the list right where you'd tap the lower characters. **How to reproduce (try it yourself)** 1. Have enough characters that the Characters tab shows the "Load more" button (i.e. more than one page). 2. On a phone / narrow viewport (reported on the Android APK), scroll the character list so a character card sits behind the pinned "Load more" bar at the bottom. 3. Tap that character. **You'll see:** the tap doesn't select the character — it hits the "Load more" bar instead; the bottom card is effectively unclickable. **Expected:** every character card is tappable; the "Load more" bar shouldn't cover or intercept taps meant for a card. **Where it is** `packages/client/src/components/panels/CharactersPanel.tsx` — the "Load more" container at lines 1397-1408 is `sticky bottom-0 z-20` with an opaque background (`bg-[var(--sidebar)]/95` + `backdrop-blur-md`): ``` <div className="sticky bottom-0 z-20 -mx-3 mt-2 border-t ... bg-[var(--sidebar)]/95 px-3 pt-2 pb-3 backdrop-blur-md"> <button ... onClick={() => void characterPages.fetchNextPage()}> Load more (...) </button> </div> ``` The scroll container is the panel root (line 683, `... overflow-y-auto p-3`), and the sticky bar is a sibling **after** the card grid (grid closes at 1395). The card grid has **no bottom padding** reserving space for the bar, so cards can rest under it. **What's happening** A `position: sticky` element sits above the scrolling list in the stacking context (here `z-20`) and captures pointer events across its entire box — an opaque/semi-transparent background does not make it click-through (only `pointer-events: none` would). Because the grid reserves no space beneath the bar, whichever card is in the bar's footprint is both visually covered and untappable. On a short mobile viewport the bar occupies a proportionally large bottom strip, so the lower character(s) are routinely blocked. **Suggested fix** Reserve space so no card ever sits under the bar — e.g. add bottom padding to the scrollable card grid roughly equal to the bar's height (a `pb-*` on the grid, or a spacer), so the last row can scroll clear of the bar and the bottom-most character is always tappable. Alternatively, drop the overlap on mobile (render "Load more" inline at the end of the list rather than pinned), or shrink the pinned bar's footprint. Verify on a real phone / narrow viewport that the last character in the list can be tapped. --- *AI-investigated against the current tree; the sticky bar styling, the scroll container, and the absence of reserved space below the grid were read and confirmed. The exact tap-blocking was reasoned from the layout (not reproduced on a device) — please verify on a phone/narrow viewport before fixing.*
bsakaguchi 2026-10-21 05:43:05 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Jul 8, 2026):

Addressed in #3388 and merged to staging.

<!-- gh-comment-id:4918159188 --> @SpicyMarinara commented on GitHub (Jul 8, 2026): Addressed in #3388 and merged to staging.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#1830
No description provided.