Skip to content
This repository has been archived by the owner on Jun 10, 2021. It is now read-only.

Calculating gas cost is triggered on each new digit entered #40

Open
peculiarity opened this issue Mar 30, 2018 · 0 comments
Open

Calculating gas cost is triggered on each new digit entered #40

peculiarity opened this issue Mar 30, 2018 · 0 comments

Comments

@peculiarity
Copy link

i.e. Scenario
0. Open dev tools.

  1. Enter for sell token - 0.1
  2. Put the cursor in front of the 1.
  3. Start putting 0's.
  4. Observe how many times Calculating gas cost is called.

Every time we change a digit ( remove / add ) gas calculation is triggered.

Implement a debounce function for the input.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant