We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When you enter text into the CurrencyInput, close the keyboard, and re-focus onto the input, the cursor moves to the end, behind the suffix.
As a result when you try to delete or edit the value, the cursor moves directly after the first character of the input.
This causes unexpected behavior which is annoying for the user.
It would be great if the cursor moved directly before the suffix if the CurrencyInput was not empty when you re-focus onto it.
The text was updated successfully, but these errors were encountered:
import CurrencyInput from 'react-native-currency-input'; const [value, setValue] = React.useState(null) <CurrencyInput value={value} onChangeValue={setValue} prefix="" delimiter="," separator="." precision={1} minValue={0} maxValue={99.9} suffix="%" />
Sorry, something went wrong.
I'll take a look into it!
Any updates?
No branches or pull requests
When you enter text into the CurrencyInput, close the keyboard, and re-focus onto the input, the cursor moves to the end, behind the suffix.
As a result when you try to delete or edit the value, the cursor moves directly after the first character of the input.
This causes unexpected behavior which is annoying for the user.
IMG_0235.mp4
It would be great if the cursor moved directly before the suffix if the CurrencyInput was not empty when you re-focus onto it.
The text was updated successfully, but these errors were encountered: