MetaMask / MetaMask/metamask-extension

[Bug]: Simulation fiat tooltip should show full maxPrecision value, no ellipsis, and not overflow

Open
#29,716 1 comment 0 reactions 0 assignees View on GitHub
Bugs---Low-Priority external-contributor INVALID-ISSUE-TEMPLATE regression-prod-12.9.2 Sev3-low team-confirmations type-bug
Dominant language
TypeScript
Stars
13.2k
Forks
5.6k
Avg merge
2d 5h
Merged PRs (30d)
451

Description

**Describe the bug**

Hovering on fiat value displays the same text when ellipsis is shown in the tooltip.
![Image](https://github.com/user-attachments/assets/083e9d60-bd09-4845-bffb-92f61d75659c)

We should also handle overflow if it still exists
![Image](https://github.com/user-attachments/assets/2bc33b65-c1ee-4b57-8818-ef25ffb31edc)

**Expected behavior**

Hovering on fiat value should display full maxPrecision value and no ellipsis in the tooltip.

**Steps to reproduce**

1. Set ENABLE_CONFIRMATION_REDESIGN=true to true in .metamaskrc
2. Enable confirmation_redesign in Launch Darkly
3. Turn on Improved Signatures setting
4. Turn on Simulation setting
5. Open a Permit w/ a large number a. Example: https://develop.d3bkcslj57l47p.amplifyapp.com/ → "Permit 2 - Single" button
6. Observe value in simulation

**Error messages or log output**

```shell

```

**Detection stage**

In production (default)

**Version**

12.9.2

**Build type**

None

**Browser**

Chrome

**Operating system**

MacOS

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue by following the listed .metamaskrc, LaunchDarkly, Improved Signatures, and Simulation steps, then open the Permit 2 - Single example. Locate the simulation fiat value tooltip and verify the displayed value uses full maxPrecision without ellipsis or overflow; done means both tooltip requirements hold for the large-number case.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.