From 5fbd98e9880b677ab08e6eb55c7fd4e2d9df2908 Mon Sep 17 00:00:00 2001 From: William Desportes Date: Fri, 12 Mar 2021 18:47:59 +0100 Subject: [PATCH] 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 --- js/src/makegrid.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/js/src/makegrid.js b/js/src/makegrid.js index fbdb62115c..254f378305 100644 --- a/js/src/makegrid.js +++ b/js/src/makegrid.js @@ -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();