You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm update android version from my project, to minSdk 20 and targetSdk 30. Apparently after this change the cursor no longer stops at the end of the text, but at the position of the mask. To fix it, I added the following code (Future.delayed) to the plugin. It worked, but I don't know if it's the best thing to do:
@override
void set text(String newText) {
if (super.text != newText) {
super.text = newText;
Future.delayed(Duration(milliseconds: 50), this.moveCursorToEnd);
}
}
Thanks!
The text was updated successfully, but these errors were encountered:
Hi,
I'm update android version from my project, to minSdk 20 and targetSdk 30. Apparently after this change the cursor no longer stops at the end of the text, but at the position of the mask. To fix it, I added the following code (
Future.delayed
) to the plugin. It worked, but I don't know if it's the best thing to do:Thanks!
The text was updated successfully, but these errors were encountered: