react-number-format
react-number-format copied to clipboard
Move cursor when use customNumerals
Describe the issue and the actual behavior
https://user-images.githubusercontent.com/6344893/135714646-b9883bc4-44e6-4d88-ac9e-3cc2ddafd0c9.mp4
Provide a CodeSandbox link illustrating the issue
https://codepen.io/straxico/pen/BaZEPNM
Provide steps to reproduce this issue
start type with persian character
Please check the browsers where the issue is seen
- [ ] Chrome
- [x] Chrome (Android)
- [ ] Safari (OSX)
- [ ] Safari (iOS)
- [ ] Firefox
- [ ] Firefox (Android)
@electather have any idea?
@straxico I'm glad my contribution helped you with your project. I had to re-read the whole thing to figure out the problem. but it was an easy fix. I created the MR with the fix and the rest is up to the maintainer.
still the cursor moves when you use thousandSeparator and persian numbers format at the same time, what should I do?
@farhang103 I didn't get to merge the fix. try building a package with the https://github.com/s-yadav/react-number-format/pull/580.