if ( !this.stackLayout.isContinuous() && previousPage ) {
        // This should not be necessary, since any inputs on the previous page should have
        // been blurred when it was hidden, but browsers are not very consistent about
        // this.
        $focused = previousPage.$element.find( ':focus' );