wormhole-foundation/wormhole-connect

[QA] Amount entered starting with 0.**** or 0 is automatically removed

Closed this issue · 2 comments

OS: Sequoia 15.1.1
Browser: Version 131.0.6778.86 (Official Build) (arm64)
Build: https://deploy-preview-3009--wormhole-connect-mainnet.netlify.app/

Describe the current behavior in detail

Steps to repro:

  1. Select any network, asset and wallet
  2. enter amount 0.*** or 0 and wait 1 sec
  3. Observe the result

What is the expected/desired behavior

Expected result: Entered amount is not removed.
Actual result: Entered amount is automatically removed.

Additional comment: If user enters valid amount for example 0.0001 or selects amount from "suggested" than the amount is not removed. Also any amount that starts with 1 and above is not removed.

amount_deleted.mov

Issue reproducible on https://wormhole-connect-mainnet.netlify.app/ with the scenario described above.
No issues on https://portalbridge.com/.

Attachment:

Screen.Recording.2024-11-26.at.11.31.04.mov

Issue is no longer reproducible on https://wormhole-connect-mainnet.netlify.app/ . No issues on https://portalbridge.com/.

Screen.Recording.2024-11-28.at.17.37.08.mov

Closing the ticket.