diff --git a/doric-android/doric/src/main/java/pub/doric/shader/InputNode.java b/doric-android/doric/src/main/java/pub/doric/shader/InputNode.java index e31014e3..8aea2b32 100644 --- a/doric-android/doric/src/main/java/pub/doric/shader/InputNode.java +++ b/doric-android/doric/src/main/java/pub/doric/shader/InputNode.java @@ -165,7 +165,9 @@ public class InputNode extends ViewNode 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":