[SSE] Update bootstrap (Fix dropdown menu position of pivot settings)

This commit is contained in:
JuliaSvinareva 2020-12-02 17:33:52 +03:00
parent d0e120e974
commit 067874c8b4
2 changed files with 5 additions and 1 deletions

View file

@ -1020,7 +1020,7 @@ define([
setOffset: function(offsetX, offsetY) {
this.offset[0] = _.isUndefined(offsetX) ? this.offset[0] : offsetX;
this.offset[1] = _.isUndefined(offsetY) ? this.offset[1] : offsetY;
//this.alignPosition();
this.display === 'static' && this.alignPosition();
},
getOffset: function() {

View file

@ -590,6 +590,8 @@ define([
}
menu.menuAlignEl = currentTarget;
menu.cmpEl.css({'position': 'fixed'});
menu.cmpEl.data('display', 'static');
menu.setOffset(-20, -currentTarget.height()/2 - 3);
menu.show();
_.delay(function() {
@ -765,6 +767,8 @@ define([
}
menu.menuAlignEl = currentTarget;
menu.cmpEl.css({'position': 'fixed'});
menu.cmpEl.data('display', 'static');
menu.setOffset(-20, -currentTarget.height()/2 - 3);
menu.show();
_.delay(function() {