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

Numeric format #329

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Numeric format #329

wants to merge 8 commits into from

Conversation

dkackman
Copy link
Contributor

@dkackman dkackman commented Feb 12, 2025

Fixes #315

This is an alternative fix to the onBlur work-around #328.

It replaces the react-imask library with NumberFormat https://s-yadav.github.io/react-number-format/docs/props/

Since this changes every instantiation of TokenAmountInput it should get some thorough testing. It does properly tigger update events on pasting values that get masked.

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.

BUG when creating offer using only copy/paste
1 participant