One of our entries are quite small, and hence when touched it places the cursor in front of the populated text.
We want the cursor to be located at the end of the entry, so that it enables deletion and editing right away.
I’ve added the following code in the focus handler to acheive this:
protected void Entry_Focused(object sender, FocusEventArgs e)
{
System.Threading.Tasks.Task.Factory.StartNew(() =>
{
Thread.Sleep(100);
entry.CursorPosition = entry.Text?.Length ?? 0;
});
}
This works for Android, but on iOS.
Is it possible to acheive this on iOS using Maui?