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

Currency with multiple symbols won't adjust cursor properly #1

Closed
LeoColman opened this issue Aug 6, 2021 · 2 comments
Closed

Currency with multiple symbols won't adjust cursor properly #1

LeoColman opened this issue Aug 6, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@LeoColman
Copy link

Hi!

I've noticed that using currencies that contain more than one symbol (such as BRL - R$) this component will not adjust the caret correctly.

Reproducing:

  1. Open your codepen https://codepen.io/konstantin-lukas/pen/oNWzwOP
  2. Add "currency: 'BRL'" to the options
  3. Clear the text field
  4. Start typing numbers

You'll see that the caret will be at this position:

image

@konstantin-lukas konstantin-lukas self-assigned this Aug 6, 2021
@konstantin-lukas konstantin-lukas added the bug Something isn't working label Aug 6, 2021
@konstantin-lukas
Copy link
Owner

FIXED
Thank you for reporting!

@LeoColman
Copy link
Author

LeoColman commented Aug 6, 2021

Thank you for this awesome lib!
Saved this backend dev a lot of time :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants