Open GhazanfarKhan opened 4 years ago
I had the same problem, this is happening because of the underline signal ( __ ) and what I did was add the property maskPlaceholder={null} so when you loses focus (going to to another input for example) the underline mask is gone and the cursor maintains the previous state. It's working fine, at least for me.
Hi Can any one please look into this issue. Focus moves to end due to component re-render.
https://stackoverflow.com/questions/62823513/react-input-mask-focus-position-moved-to-end-when-use-with-redux-component-reren