diff --git a/android/src/main/java/com/wix/autogrowtextinput/AutoGrowTextInputModule.java b/android/src/main/java/com/wix/autogrowtextinput/AutoGrowTextInputModule.java index 07c76d6..b2d1549 100644 --- a/android/src/main/java/com/wix/autogrowtextinput/AutoGrowTextInputModule.java +++ b/android/src/main/java/com/wix/autogrowtextinput/AutoGrowTextInputModule.java @@ -52,7 +52,7 @@ public void execute (NativeViewHierarchyManager nvhm) { if (param.hasKey("maxHeight") && !param.isNull("maxHeight")) { mMaxHeight = dpToPx(param.getDouble("maxHeight")); } - editText.setBlurOnSubmit(false); + editText.setSubmitBehavior("submit"); editText.setOnTouchListener(new View.OnTouchListener() { @Override public boolean onTouch(View v, MotionEvent event) {