ActionMenuPopupWidget: Prevent ClippableElement from overwriting our width hack

This whole class is a terrible hack, and we should instead implement
a proper facility for what we need in OOUI.

Bug: T128436
Change-Id: I8777a6e36d238dc13c9060b74b7a72c6933082f6
This commit is contained in:
Roan Kattouw 2016-02-29 18:46:49 -08:00
parent 48a08b7343
commit a7537e9465

View file

@ -61,6 +61,9 @@
// which in our case is not the point at all. We need the menu
// to be larger, so force this setting:
this.menu.$element.css( 'width', this.menuWidth );
// HACK: Prevent ClippableElement from overwriting this width value on scroll
// or window resize
this.menu.toggleClipping( false );
};
/**