Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Bug]: Mobile Queued sheet swipe-to-remove clips text mid-sheet and leaves a floating gap next to Send now #49787

Openimetn(GitHub profile, opens in a new tab) opened this issue 0 comments

Area

apps/mobile

Steps to reproduce

  1. Queue at least one message on a busy thread in the mobile app (iOS / iPadOS).
  2. Open the Queued sheet (ThreadQueueSheet).
  3. Swipe a queued message row to the left to reveal the Remove action.

Expected behavior

  • The swipeable row spans the full width of the sheet so row content slides cleanly to the true left edge without getting sliced at an inner margin.
  • There is breathing space between the Send now pill and the revealed Remove action, and the Remove action aligns cleanly with the right edge of the sheet (matching the swipe-action layout in ThreadSwipeable).

Actual behavior

In apps/mobile/src/features/threads/ThreadQueueControl.tsx (main @ 56ac8dcc4a):

  1. contentContainerClassName="px-5 pb-6" (line 243) is applied to the outer ScrollView wrapping QueueRowSwipeable (line 303), whose ReanimatedSwipeable container has overflow: "hidden". Swiping left slices the message text mid-character 20px inside the left edge of the sheet, and leaves a 20px floating gap to the right of the rectangular Remove box.
  2. The Send now button (pl-4, no trailing padding inside the swipeable child) sits flush against the sharp-cornered bg-danger Remove box with zero separation.
  3. Also note that onSwipeableOpen (lines 449-453) checks if (direction !== "right") return;, whereas react-native-gesture-handler v3 ReanimatedSwipeable passes SwipeDirection.LEFT ("left") when opening renderRightActions, making that callback dead code.

Impact

Minor bug / visual polish issue

Version or commit

main @ 56ac8dcc4a

Environment

iOS / iPadOS mobile app (apps/mobile/src/features/threads/ThreadQueueControl.tsx)

Suggested fix

Move px-5 off the ScrollView into each swipeable row child (<View className="flex-row items-center px-5">) and non-row banners (Queue paused, editBlockedReason, empty state), place an inset divider (mx-5 border-b border-border) below QueueRowSwipeable, and give the Remove swipe action proper right padding / rounded treatment consistent with ThreadSwipeable.

  1. tanstack-source added labelsbug

Sign in to join this conversation.