You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The "swap-in" amount input doesn't have a max length, therefore a large amount can be calculated and passed to the "Confirmation" state with a corrupted UI. We have to handle a large amounts - doesn't pass them on the first state or round and remove zeros to display it shorten.
STR:
Navigate to the app
Enter an exceeded amount that consist of >= 22 numbers for the swap-in amount input (e.g: 7478773923223123234925) and >= 30 numbers (e.g: 747877392322312323492566622277)
Click on the "Continue" button
Actual result:
The "swap-in" amount input doesn't have a max length that corrupts the UI on the "Confirm Swap" state
It passes to the "Confirm Swap" state with exceeded balance with >= 22 numbers that rounds to a number with large zeros
Expected result:
The "swap-in" amount input has a max length to avoid a corruption on the "Confirm Swap" state. One of the possible solution, if we want to pass it there it's to truncate it as we do on the first "Swap" state for inputs.
It doesn't pass to the "Confirm Swap" state with exceeded balance
Attachments:
The text was updated successfully, but these errors were encountered:
Description:
The "swap-in" amount input doesn't have a max length, therefore a large amount can be calculated and passed to the "Confirmation" state with a corrupted UI. We have to handle a large amounts - doesn't pass them on the first state or round and remove zeros to display it shorten.
STR:
Actual result:
Expected result:
Attachments:
The text was updated successfully, but these errors were encountered: