I found the Input(BS4) onfocus() event is not working. But I use the same code to the TextBox(jqm) onfocus() event, it is working fine.
On Bootstrap, the events are called onfocusin() and onfocusout().
We’ve updated the docs to show this.
The onfocusin() event is working. I am using the keyboard.hide in onfocusin() event, it is working fine. But when I am using the same code in the ontouchstart() event, the keyboard.hide is not working. I try to touch the Input that is already focused, the keyboard is show.