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

Bug: T221289
Change-Id: I6ec40bd78f5c36a6033e800466124fcbb4f6446d
This commit is contained in:
Bartosz Dziewoński 2019-05-01 22:43:49 +02:00
parent f6a8a097f2
commit c31cf00432

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 );
};