excel-bootstrap-table-filter icon indicating copy to clipboard operation
excel-bootstrap-table-filter copied to clipboard

Correcting the position of drop-down menu while it is not in viewport

Open AzhurMinimalWe opened this issue 6 years ago • 1 comments

Hi, chestercharles If filter icon for drop-down menu is located too close to right border of window this menu is getting out from viewport. Let me show you some improvement for your awesome table filter: $trigger.click(function(a){a.pageX+310>$(window).width()&&$($content[0]).css({right:0});return $content.toggle()}); Now the drop-down menu always apears in viewport now One more time thanks for this filter

AzhurMinimalWe avatar Jul 11 '19 08:07 AzhurMinimalWe

Thank you @AzhurMinimalWe !

BieberGelson avatar Aug 18 '21 15:08 BieberGelson