I have created an input component (InputComponent) using react-number-format. This component accepts only a string numerical value with one decimal. Example: "12.5" or "12" but not "12.55".
This works.
However when I use InputComponent to build another component (BiggerComponent), the input loses its focus on each key stroke.