Merge "ve.ui.MWSaveDialog: More save panel disappearing on iOS Safari"

This commit is contained in:
jenkins-bot 2019-05-02 00:19:33 +00:00 committed by Gerrit Code Review
commit a1dd9de915

View file

@ -867,6 +867,10 @@ ve.ui.MWSaveDialog.prototype.getReadyProcess = function ( data ) {
// This includes a #focus call
this.editSummaryInput.moveCursorToEnd();
}
// HACK: iOS Safari sometimes makes the entire panel completely disappear (T221289).
// Rebuilding it makes it reappear.
OO.ui.Element.static.reconsiderScrollbars( this.panels.getCurrentItem().$element[ 0 ] );
}, this );
};