[Bug]: Android: Tapping "Remove" on swiped queued follow-up fails to delete it
Before submitting
- [x] I searched existing issues and did not find a duplicate.
- [x] I included enough detail to reproduce or investigate the problem.
Area
apps/mobile
Steps to reproduce
- In T3 Code Android, open a thread with an active agent run.
- Submit a follow-up prompt configured in Queue mode.
- Open the "Queued" sheet.
- Swipe left on the queued message row to expose the red "Remove" button.
- Tap directly on the "Remove" button ([🗑️ Remove]).
Expected behavior
Tapping "Remove" should cancel and remove the queued run (cancelQueuedRun), closing the swipe row and updating the queue list.
Actual behavior
Tapping the "Remove" button registers visually on screen (touch indicator centered on the button), but the item is not deleted. Instead, the swipe container snaps back closed, leaving the queued message intact in the queue.
Impact
Minor bug or occasional failure
Version or commit
main
Environment
Android 17, Samsung Galaxy (landscape 1152x422), T3 Code Mobile
Screenshots, recordings, or supporting files
https://github.com/user-attachments/assets/7341edc1-a301-4834-b69a-9e176895253a
Additional Context & Code Reference
In apps/mobile/src/features/threads/ThreadQueueControl.tsx:
In QueueRowSwipeable, a standard React Native Pressable is rendered inside ReanimatedSwipeable's renderRightActions. On Android, react-native-gesture-handler's native PanGestureHandler intercepts touch events before React Native's JS touch responder can process them on Pressable. Additionally, onSwipeableOpen enforces if (direction !== "right") return; which only handles a full horizontal fling gesture rather than a partial swipe followed by tapping the revealed action button.
This is the same problem as #15414, so I'm closing it in favour of that one. If it is different, say how and it will be reopened.