MetaMask / MetaMask/metamask-mobile

[Bug]: String place holder displayed when reversing a position

Open
#33,493 1 comment 0 reactions 0 assignees View on GitHub
regression-RC-8.4.0 Sev2-normal Sev3 size-XS ta-triaged team-perps type-bug
Dominant language
TypeScript
Stars
3k
Forks
1.7k
Avg merge
1d 14h
Merged PRs (30d)
669

Description

### Describe the bug

When reversion a position with an amount lower to the minimum, the bottom sheet displayed shows a string place holder instead of the proper text

### Expected behavior

Readable string is displayed

### Screenshots/Recordings

https://github.com/user-attachments/assets/2586eacb-4bbc-4087-8970-7f2708bcbb6a

### Steps to reproduce

Reverse a position

### Error messages or log output

```shell

```

### Where was this bug found?

Internal release testing

### Version

8.4.0

### Build number

6131

### Build type

None

### Device

iPhone

### Operating system

iOS

### Additional context

_No response_

### Severity

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue on an iPhone running iOS with version 8.4.0, reversing a position with an amount below the minimum. Trace the bottom sheet shown during that flow and identify why a placeholder string is rendered. Done means the bottom sheet displays readable text instead of the placeholder.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, react-native, typescript
Domain
frontend, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.