Closed EasonBeaty closed 11 months ago
How can I reproduce your issue?
It looks like your updating the state with set
rather than update
.
I figured out that the reason should be that after the set is re-rendered by the component, the cursor will automatically go to the beginning position
I used other method to achieve it and now it's ok
onChange={(value) => { this.setState({text:XXXX}) }}