Hi I have a problem moving cursor to the end of the text inside text form field while using RTL languages like Farsi. When I move the cursor to the end (position n), suddenly it jumps to one character before the end (n-1).
I’ve searched every where and found similar issue here (Flutter textfield Flutter RTL cursor position problem n-1) but the solution didn’t work.
I have attached a video of the problem.
2
Answers
Put this code in
onTap
function inTextField
:You can fix this by registering a listener and watch over the cursor position.