MetaMask / MetaMask/metamask-mobile
[Bug]: Review transaction details not loading after closing 'Buy token' window from Insufficient funds alert
- Dominant language
- TypeScript
- Stars
- 3k
- Forks
- 1.7k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 669
Description
**Describe the bug**
During a transaction with insufficient funds for gas, if the user clicks on the 'Buy Native token' button from the alert message and then closes this modal, the Review transaction screen is not loading any details.
If the app is locked, it does not fix the screen, but it can be restarted and the issue is fixed.
**Expected behavior**
Review transaction screen to load
**Screenshots/Recordings**
https://github.com/user-attachments/assets/24a7a84b-cfb6-4dfd-8921-8de2fac0f739
**Steps to reproduce**
1. Have insufficient funds for gas
2. Start send transaction
3. Select token and recipient
4. Click on the Network fee alert
5. Click Buy ETH button (or other native token depending on the network)
6. Close the Select token screen from the 'x' in the upper right side
7. Notice Review transaction details are not loading
**Error messages or log output**
```shell
```
**Where was this bug found?**
Internal release testing
**Version**
7.62.0
**Build number**
3472
**Build type**
None
**Device**
iPhone 15, Pixel 6 Pro
**Operating system**
iOS, Android
Contributor guide
Research direction
Start by reproducing the insufficient-gas flow on iOS and Android, then trace the Review transaction screen after closing the Select token modal. The issue names no files or tests; done means the Review transaction screen reliably reloads its details without requiring an app restart.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, typescript
- Domain
- frontend, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100