Chatting keyboard that remains open after send button


#1

Hello folks.
How can I remain open my keyboard after pressing the submit button.
Lets go for a brief use case.
Its like I’m having one ion-input and one button. when the button is pressed the input value is submitted to the server.
When user touch the input area, the keyboard opens but when the user hit the submit button the keyboard button hides/closed.
I want to remain open the keyboard until and unless user press the screen region other than (input area, that submit button and keyboard itself) the rest of the screen will be touched and the keyboard closes.

How to achieve this functionality?
This usecase is exactly used in your chat msgs.
(WhatsApp, FbMessenger, etc)

Any help will be highly appreciated.


#2

This is resolved by using (click)=“submit(); chat_input.setFocus()”