|
@@ -612,6 +612,9 @@ public class RNCWebViewManager extends SimpleViewManager<WebView> {
|
612
|
612
|
break;
|
613
|
613
|
case COMMAND_FOCUS:
|
614
|
614
|
root.requestFocus();
|
|
615
|
+ Context ctx = root.getContext();
|
|
616
|
+ InputMethodManager imm = (InputMethodManager) ctx.getSystemService(Context.INPUT_METHOD_SERVICE);
|
|
617
|
+ imm.toggleSoftInput(0, InputMethodManager.HIDE_NOT_ALWAYS);
|
615
|
618
|
break;
|
616
|
619
|
case COMMAND_CLEAR_FORM_DATA:
|
617
|
620
|
root.clearFormData();
|