From reading the comment I made -- should we be using `resetShowingKeyboard()` here instead?

I can see that `hideKeyboardImmediately()` dispatches a lot of events -- not sure if this will result any side effect anywhere.