mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-24 18:59:34 +08:00
[SSE] Fix Bug 33365.
This commit is contained in:
@ -244,7 +244,17 @@ define([
|
||||
});
|
||||
|
||||
var menuHiddenItems = new Common.UI.Menu({
|
||||
maxHeight: 260,
|
||||
menuAlign: 'tl-tr'
|
||||
}).on('render:after', function(mnu) {
|
||||
this.scroller = new Common.UI.Scroller({
|
||||
el: $(this.el).find('.dropdown-menu '),
|
||||
useKeyboard: this.enableKeyEvents && !this.handleSelect,
|
||||
minScrollbarLength : 40,
|
||||
alwaysVisibleY: true
|
||||
});
|
||||
}).on('show:after', function () {
|
||||
this.scroller.update({alwaysVisibleY: true});
|
||||
});
|
||||
menuHiddenItems.on('item:click', function(obj,item,e) {
|
||||
me.fireEvent('show:hidden', [me, item.value]);
|
||||
|
||||
Reference in New Issue
Block a user