Merge "Force Ace Editor to resize after the dialog has been rendered"

This commit is contained in:
jenkins-bot 2015-12-20 12:57:58 +00:00 committed by Gerrit Code Review
commit e04098facf
1 changed files with 2 additions and 1 deletions

View File

@ -228,7 +228,8 @@ ve.ui.MWMathDialog.prototype.getReadyProcess = function ( data ) {
return this.symbolsPromise;
}, this )
.next( function () {
this.input.focus().moveCursorToEnd();
// Resize the input once the dialog has been appended
this.input.adjustSize( true ).focus().moveCursorToEnd();
}, this );
};