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