Fix Bug 32998.

This commit is contained in:
Julia Radzhabova 2016-08-29 17:54:19 +03:00
parent 1e1ea2c49f
commit b0c7c000f7

View file

@ -211,8 +211,17 @@ define([
openMenu: function(delay) {
var me = this;
if ( !this.scroller ) {
this.scroller = new Common.UI.Scroller(_.extend({
el: $('.dropdown-menu', this.cmpEl),
minScrollbarLength: 40,
scrollYMarginOffset: 30,
includePadding: true
}, this.options.scroller));
}
_.delay(function(){
me.cmpEl.addClass('open')
me.cmpEl.addClass('open');
}, delay || 0);
},