We are building a hybrid app with Ionic and Cordova. This topic concerns the Android version of our app, I did not test on iOS.
Device: galaxy tab 3
Keyboard: bluetooth (switched off the virtual keyboard)
The problem:
If I tab through the input fields Ionic tends to scroll after the viewport is already focussed on the caret. After this the app freezes for a sec. This damages the user experience since you have to wait about 1-2 secs before you can enter data. Any idea’s?
What you can do is disable native scrolling in your .run function
.run(function($ionicPlatform) {
$ionicPlatform.ready(function() {
// Hide the accessory bar by default (remove this to show the accessory bar above the keyboard
// for form inputs)
if(window.cordova && window.cordova.plugins.Keyboard) {
cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true);
cordova.plugins.Keyboard.disableScroll(false);
}
if(window.StatusBar) {
// Set the statusbar to use the default style, tweak this to
// remove the status bar on iOS or change it to use white instead of dark colors.
StatusBar.styleDefault();
}
});
})