only wait longer for keyboard resize on android

This commit is contained in:
Tim Lancina
2014-05-12 15:15:36 -05:00
parent 1a2e501f25
commit 5ad395d599

View File

@@ -643,7 +643,7 @@ ionic.views.Scroll = ionic.views.View.inherit({
if( e.detail.isElementUnderKeyboard ) {
var delay;
// Wait on android for scroll view to resize
if ( !ionic.Platform.isFullScreen && e.detail.hasPlugin ) {
if ( ionic.Platform.isAndroid() && !ionic.Platform.isFullScreen ) {
delay = 350;
}
else {