Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swap flicker on first input #1735

Open
micahalcorn opened this issue Aug 4, 2023 · 1 comment
Open

Swap flicker on first input #1735

micahalcorn opened this issue Aug 4, 2023 · 1 comment
Labels
bug Something isn't working OETH OETH related things P3 Users are not significantly affected, minor cosmetic issue ui/ux Workd that requires design and product overview

Comments

@micahalcorn
Copy link
Member

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 micahalcorn added bug Something isn't working P3 Users are not significantly affected, minor cosmetic issue ui/ux Workd that requires design and product overview OETH OETH related things labels Aug 4, 2023
@micahalcorn micahalcorn moved this from Backlog to To-do in Origin DeFi (OUSD + OETH) Aug 4, 2023
@smitch88
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working OETH OETH related things P3 Users are not significantly affected, minor cosmetic issue ui/ux Workd that requires design and product overview
Projects
Status: To-do
Development

No branches or pull requests

2 participants