+ if ( show && this.editable ) {
+ // HACK: When the sidebar stops animating, kill dumb scrollbars (T161798). Only necessary when
+ // outline controls are present, The delay matches transition on `.oo-ui-menuLayout-menu`.
+ setTimeout( function () {
+ OO.ui.Element.static.reconsiderScrollbars( booklet.outlinePanel.$element[ 0 ] );
+ }, 200 );
+ }