metamask-extension icon indicating copy to clipboard operation
metamask-extension copied to clipboard

[Bug]: Amount in the 'From' field resets to 0

Open sleepytanya opened this issue 10 months ago • 2 comments

Describe the bug

When a user selects a token for the recipient to receive, the amount displayed in the 'From' field resets to zero, requiring user to input the amount once more.

UI question: when a fiat value is selected as the primary currency, it is displayed in the format of *** USD. Conversely, when it is not the primary currency, the display format changes to $***. Is this expected behavior?

Screenshot 2024-04-04 at 7 13 11 PM

Expected behavior

Screenshots/Recordings

https://github.com/MetaMask/metamask-extension/assets/104780023/f31ea413-386d-4ae2-b119-b3a430168387

Steps to reproduce

  1. Start 'Send' transaction
  2. Set an amount in the 'From' field
  3. Choose another token for the recipient
  4. Amount in 'From' field resets to 0

Error messages or log output

No response

Version

dev build <mb843/data-flows>

Build type

None

Browser

Chrome

Operating system

MacOS

Hardware wallet

No response

Additional context

No response

Severity

No response

sleepytanya avatar Apr 04 '24 23:04 sleepytanya

Fixed in this build.

sleepytanya avatar Apr 12 '24 19:04 sleepytanya

@sleepytanya can we close this issue?

micaelae avatar May 07 '24 23:05 micaelae

Confirming that this issue no longer exists – closing.

And yes, the mentioned behavior is expected.

BZahory avatar May 08 '24 07:05 BZahory