origin-dollar icon indicating copy to clipboard operation
origin-dollar copied to clipboard

Swap flicker on first input

Open micahalcorn opened this issue 2 years ago • 1 comments

When I first load the swap form and enter an amount, I get a brief output that doesn't make sense. See this example where my input is 150 and the output is 0.99999xxxxxxxxxxxxx for a fraction of a second before changing to 150.

https://www.loom.com/share/ccb1ee9ca2714af88929af18c49e0604

micahalcorn avatar Aug 04 '23 00:08 micahalcorn

This delay is from typing in 1, it running the amount received, and then replacing it with 150. I can increase the debounce interval a little bit so if you are typing a bit slower it will not do this.

smitch88 avatar Aug 10 '23 13:08 smitch88