Say you have a numeric input with a prefix that has more than one symbol:
<NumericFormat value={1234} prefix={"$$"} />
Try focusing it with a Tab key or using your mouse and pressing Cmd + A to select its content. Once its content is selected, it is not possible to unselect it using arrow keys (Left/Right).
Say you have a numeric input with a prefix that has more than one symbol:
Try focusing it with a Tab key or using your mouse and pressing Cmd + A to select its content. Once its content is selected, it is not possible to unselect it using arrow keys (Left/Right).
Playground: https://codesandbox.io/p/sandbox/hzcwz2
Used to work OK in at least version v5.2: https://codesandbox.io/p/sandbox/prefix-demo-forked-cp5d8c?from-embed=&workspaceId=549a3a30-4c49-4cb4-8e8b-cf3d73a2df19