diff --git a/src/components/nav/nav-controller.ts b/src/components/nav/nav-controller.ts index c5173b43d15..6af72634f79 100644 --- a/src/components/nav/nav-controller.ts +++ b/src/components/nav/nav-controller.ts @@ -1178,7 +1178,12 @@ export class NavController extends Ion { transAnimation.duration(0); } - let duration = transAnimation.getDuration(); + let KEYBOARD_DURATION_PADDING = 0; + if ( this._keyboard.isOpen() ){ + // add 700ms to the click block just to be sure the keyboard is closed + KEYBOARD_DURATION_PADDING = 700; + } + let duration = transAnimation.getDuration() + KEYBOARD_DURATION_PADDING; let enableApp = (duration < 64); // block any clicks during the transition and provide a // fallback to remove the clickblock if something goes wrong