function keyboardOnKeyDown(e) {
  if (ionic.scroll.isScrolling) {
    keyboardPreventDefault(e);
  }
}
Event handler for 'keydown' event. Tries to prevent browser from natively
scrolling an input into view when a user taps the keyboard while we are
scrolling the input into view ourselves with JS.