mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-28 01:30:15 +00:00
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:
parent
48a08b7343
commit
a7537e9465
|
@ -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 );
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue