Fix #16659 - remove auto set left position for the dropdown position
It made the arrow not to be aligned with the dropdown, the user could not use the dropdown Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
parent
80780fbebc
commit
5fbd98e988
@ -527,12 +527,7 @@ var makeGrid = function (t, enableResize, enableReorder, enableVisib, enableGrid
|
||||
// only show when not resizing or reordering
|
||||
if (!g.colRsz && !g.colReorder) {
|
||||
var pos = $(obj).position();
|
||||
// check if the list position is too right
|
||||
if (pos.left + $(g.cList).outerWidth(true) > $(document).width()) {
|
||||
pos.left = $(document).width() - $(g.cList).outerWidth(true);
|
||||
}
|
||||
$(g.cList).css({
|
||||
left: pos.left,
|
||||
top: pos.top + $(obj).outerHeight(true)
|
||||
})
|
||||
.show();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user