When does keyboard go down?

How do I see all the list of event that makes the keyboard go down properly?

I see that ng-submit or submit from form sometimes make the keyboard go down or not…

in generel a blur event of an input.

if you have a valid form with ng-submit and/or submit button the keyboard goes done after submitting.

In some cases the “blur”-event gets catched by another listener and this avoids the event from bubbling so the keyboard gets not notified.

An example:
You have an input, not a form --> like a simple search in the headerbar
This search has a ng-change function which triggers a statechange to the search results if you have typed in min 3 letters.

After a search you get redirected to the results but the keyboard is still open.