When textInput dispatches FeathersEventType.ENTER I have it display an Alert. However, the softkeyboard is still active and allows the textInput to be modified while the Alert is being show. I just call textInput.clearFocus() before displaying the Alert, but I believe this is not intended and is a bug?
[Bug?] TextInput Softkeyboard and Alert(4 posts) (2 voices)
Focus is not removed from the TextInput when the enter key is pressed. Think of a chat app where you might want to send multiple messages.
Yes, that makes total since. I was more thinking that Alert would want to automatically end focus so it could pop-up over all content.
If FocusManager is enabled, PopUpManager will push a new FocusManager onto the stack when a modal pop-up is opened. I think that will automatically clear the focus on TextInput (maybe not, though). However, FocusManager generally isn't used in mobile apps, so you're expected to do a little bit more manually.
You must log in to post.