I have a component that I show using enterModalState. The modal component contains a text editor. I have takeKeyboardFocus set to true when I enter modal state, and I also call setWantsKeyboardFocus() on the text editor it displays. But no matter what I do, I can’t get the Android keyboard to appear on-screen. Should this work? Or is doing this from a modal component a no-no. Note this works fine if I’m not using a modal component.
In case someone else gets caught out on this, the key to making it work was not giving the texteditor keyboard focus until a user presses it. ![]()
1 Like
