react-number-format icon indicating copy to clipboard operation
react-number-format copied to clipboard

Caret moved at the end when used with Ant Design library

Open lyvyu opened this issue 10 months ago • 2 comments

Describe the issue and the actual behavior

When custom input is passed to PatternFormat, the caret will not hold it's position, but after first entered character, it will jump straight to the input's end.

Describe the expected behavior

Caret shall remain in the position of the last entered character.

Provide a CodeSandbox link illustrating the issue

https://stackblitz.com/edit/react-m9nrou-3d8qpz

Provide steps to reproduce this issue

Please see the sandbox provided.

Please check the browsers where the issue is seen

  • [ ✅] Chrome
  • [✅ ] Safari (OSX)

lyvyu avatar Mar 30 '24 21:03 lyvyu

Duplicate: https://github.com/s-yadav/react-number-format/issues/818

pgeimer avatar Apr 15 '24 14:04 pgeimer

@pgeimer, @lyvyu

https://stackblitz.com/edit/react-m9nrou-by6vji

C3maLi avatar Apr 20 '24 22:04 C3maLi