OriginProtocol / OriginProtocol/origin-dollar
Swap flicker on first input
Nobody has claimed this yet.
- Dominant language
- Solidity
- Stars
- 152
- Forks
- 115
- Avg merge
- 3d 20h
- Merged PRs (30d)
- 17
Description
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the swap form and reproduce the first-input interaction described in the issue, using the linked Loom example as the behavioral reference. Trace the initial output calculation and confirm that the form no longer briefly displays an incorrect value before settling on the expected output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- solidity
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100