fix(earn): prevent swipe gesture conflict in earn screen stack navigator cp-7.73.0#28836
fix(earn): prevent swipe gesture conflict in earn screen stack navigator cp-7.73.0#28836
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
🔍 Smart E2E Test Selection⏭️ Smart E2E selection skipped - draft PR All E2E tests pre-selected. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 738ece4. Configure here.
|
|
✅ E2E Fixture Validation — Schema is up to date |




Description
The
EarnScreenStacknavigator was using the default stack presentation mode, which enables a swipe-back gesture on the entire screen. This conflicted with swipe interactions inside theMusdQuickConvertView(the quick convert button), causing the screen to dismiss unintentionally when users tried to swipe within the view.The fix adds
screenOptions={{ presentation: 'transparentModal' }}to theEarnScreenStacknavigator, which disables the swipe-to-dismiss gesture at the navigator level. This is consistent with how theEarnModalStackis already configured.Changelog
CHANGELOG entry: Fixed swipe gesture conflict that caused the earn quick convert screen to dismiss unintentionally
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
https://github.com/user-attachments/assets/8e1142bc-2958-408d-841a-91fb9fb1a0e4
N/A
After
Screen.Recording.2026-04-14.at.22.28.36.mov
N/A
Pre-merge author checklist
Pre-merge reviewer checklist
Made with Cursor
Note
Low Risk
Low risk UI navigation config change; it only adjusts stack presentation/gestures and may subtly affect transition/overlay behavior for Earn screens.
Overview
Updates
EarnScreenStackto usescreenOptions={{ presentation: 'transparentModal' }}, preventing the default swipe-back gesture from conflicting with swipe interactions (e.g., inMusdQuickConvertView) and aligning its behavior with the existing modal stack configuration.Reviewed by Cursor Bugbot for commit 738ece4. Bugbot is set up for automated code reviews on this repo. Configure here.