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

Refactor updateNewAccount #284

Merged
merged 3 commits into from
Jul 26, 2019
Merged

Refactor updateNewAccount #284

merged 3 commits into from
Jul 26, 2019

Conversation

Tbaut
Copy link
Contributor

@Tbaut Tbaut commented Jul 25, 2019

  • debounce is now debouncing.
  • icon selection isn't lagging anymore.
  • removed a direct dependency to debounce

What it effectively solves:

On account recovery, debounce is working, the device used to calculate the address at every key stroke. Now it's effectively debouncing (after/before):
debounce

On new account, the icon selection doesn't re-render.
I do exactly the same in each example, I click on new account and click on the 4 first icons consecutively. You can see the selection is jumping. (before/after)
image

@Tbaut Tbaut requested review from maciejhirsz and hanwencheng July 25, 2019 00:47
@Tbaut Tbaut changed the base branch from tbaut-icon-selector to master July 25, 2019 09:58
@hanwencheng
Copy link
Contributor

LGTM

@Tbaut Tbaut requested a review from pmespresso July 25, 2019 23:47
@pmespresso
Copy link
Contributor

@Tbaut tested on iphone 6, works as expected!

@pmespresso
Copy link
Contributor

ezgif-1-9483c7328b65

@Tbaut Tbaut merged commit e5a9e29 into master Jul 26, 2019
@Tbaut Tbaut deleted the tbaut-refactor-updateNewAccount branch July 26, 2019 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants