MetaMask / MetaMask/metamask-mobile
[Bug]: Swap provider name and amounts truncated on Select Quote screen (USDT → TRX)
- Dominant language
- TypeScript
- Stars
- 3k
- Forks
- 1.7k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 669
Description
### Describe the bug
On the **Select Quote** screen during a USDT → TRX swap, the swap provider name and the estimated output amounts are cut off and not displayed in full. The right side of the row is clipped, hiding part of the token amount.
- The swap provider label is truncated (e.g. `~ 59.83827 TR` is cut off, missing the `X` suffix)
- The estimated output amount on the right side is clipped at the edge of the screen
- Both providers affected: **Nearintent Via Rango** and **Bridgers**
### Expected behavior
- The swap provider name should be displayed in full
- The estimated output amount (e.g. `~ 59.83827 TRX`) should be fully visible without truncation
### Screenshots/Recordings
### Steps to reproduce
1. Open MetaMask Mobile
2. Navigate to Swap
3. Set swap direction: **USDT → TRX**
4. Proceed to the **Select Quote** screen
5. Observe the listed providers (e.g. "Nearintent Via Rango")
### Error messages or log output
```shell
```
### Where was this bug found?
Internal release testing
### Version
8.0.0
### Build number
5671
### Build type
None
### Device
iPhone 13
### Operating system
iOS
### Additional context
_No response_
### Severity
_No response_
Contributor guide
Research direction
Start at the Select Quote screen flow and reproduce the USDT → TRX swap on an iPhone 13, checking the provider rows for Nearintent Via Rango and Bridgers. Trace the screen's implementation and any related UI tests; done means both provider names and estimated output amounts, including “~ 59.83827 TRX”, are fully visible without clipping.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, typescript
- Domain
- frontend, mobile
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100