This is an automated email from the ASF dual-hosted git repository.
cnryb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-weex.git
The following commit(s) were added to refs/heads/master by this push:
new 4fac61c [Android]Fix rows doesn't work in textarea
new 67bfbef Merge pull request #3176 from chenzefeng09/master
4fac61c is described below
commit 4fac61cfefb5ee554c612f927d852179cac7166b
Author: chenzefeng <[email protected]>
AuthorDate: Tue Mar 24 17:19:50 2020 +0800
[Android]Fix rows doesn't work in textarea
---
.../main/java/org/apache/weex/ui/component/AbstractEditComponent.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/android/sdk/src/main/java/org/apache/weex/ui/component/AbstractEditComponent.java
b/android/sdk/src/main/java/org/apache/weex/ui/component/AbstractEditComponent.java
index 3111b4f..e7de904 100644
---
a/android/sdk/src/main/java/org/apache/weex/ui/component/AbstractEditComponent.java
+++
b/android/sdk/src/main/java/org/apache/weex/ui/component/AbstractEditComponent.java
@@ -575,7 +575,7 @@ public abstract class AbstractEditComponent extends
WXComponent<WXEditText> {
return;
}
mType = type;
- ((EditText) getHostView()).setInputType(getInputType(mType));
+ ((EditText) getHostView()).setRawInputType(getInputType(mType));
switch (mType) {
case Constants.Value.DATE:
case Constants.Value.TIME: