fix android input on text change recursive
This commit is contained in:
parent
fcd4449a9d
commit
7a94ef0a53
@ -165,7 +165,9 @@ public class InputNode extends ViewNode<EditText> implements TextWatcher, View.O
|
||||
break;
|
||||
case "text":
|
||||
String text = prop.isString() ? prop.asString().toString() : "";
|
||||
view.setText(text);
|
||||
if (!view.getText().toString().equals(text)) {
|
||||
view.setText(text);
|
||||
}
|
||||
view.setSelection(text.length());
|
||||
break;
|
||||
case "textSize":
|
||||
|
Reference in New Issue
Block a user