Skip to content

Token Swap - After changing token, amount is not reset #826

Description

@tuliomir

When the user selects a token to swap to, inserts an amount and then changes the token, the screen is left in a weird state that degrades UX.

To reproduce:

  • Select a token to swap to ( hUSDC )
  • Select a value to buy ( 1.00 )
  • Wait for the swap info to appear
  • Select another token to swap to ( KELB )

Expected behavior: the value to buy ( 1.00 ) would be:

  • Resetted
  • Kept, but the swap info would appear again

Current behavior is:

  • The value to buy is kept and the swap info does not appear
  • User has to click the value input and exit just for the swap info to appear

See video below:

ScreenRecording.-.Token.amount.not.reset.mp4

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions