diff --git a/engine/src/flutter/shell/platform/android/io/flutter/embedding/android/FlutterView.java b/engine/src/flutter/shell/platform/android/io/flutter/embedding/android/FlutterView.java index 8d4c7d3b186..21b40575a72 100644 --- a/engine/src/flutter/shell/platform/android/io/flutter/embedding/android/FlutterView.java +++ b/engine/src/flutter/shell/platform/android/io/flutter/embedding/android/FlutterView.java @@ -170,6 +170,10 @@ public class FlutterView extends FrameLayout { addView(flutterTextureView); break; } + + // FlutterView needs to be focusable so that the InputMethodManager can interact with it. + setFocusable(true); + setFocusableInTouchMode(true); } /**