MetaMask / MetaMask/metamask-mobile

[Bug]: On Staking screen Estimated annual rewards text is overflowing

Open
#14,272 0 comments 0 reactions 0 assignees View on GitHub
regression-prod-7.42.1 Sev2-normal team-earn type-bug
Dominant language
TypeScript
Stars
3k
Forks
1.7k
Avg merge
1d 14h
Merged PRs (30d)
669

Description

### Describe the bug

On Staking screen `Estimated annual rewards` text / value is out of the `MetaMask Pool` box.

### Expected behavior

-

### Screenshots/Recordings

iOS:

![Image](https://github.com/user-attachments/assets/d3b5bc98-f8b7-40b9-86b6-ed4d7a5843b4)

Android looks good:

![Image](https://github.com/user-attachments/assets/97910cce-4ba4-41e3-bf05-6fd14908f096)

### Steps to reproduce

1. Tap `Earn`

### Error messages or log output

```shell

```

### Detection stage

In production (default)

### Version

7.42.1 (1637)

### Build type

None

### Device

iPhone 15

### Operating system

iOS

### Additional context

_No response_

### Severity

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the overflow from the Earn screen on an iPhone 15, then locate the Staking screen's MetaMask Pool layout and its Estimated annual rewards text. Done means the text and value stay inside the box on iOS while the existing Android appearance remains correct.

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
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.