From eea7470571c06cc336b8ab13039355a8cc532fae Mon Sep 17 00:00:00 2001 From: David Pham Date: Fri, 20 Oct 2023 22:44:22 +0700 Subject: [PATCH] Fix Issue 2127: DataTable column head menu is badly positioned (#2135) * update dropdownPlacement and dropdownOffset * use default position --- .../ui/data/data-table/components/ColumnHeadWithDropdown.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/src/modules/ui/data/data-table/components/ColumnHeadWithDropdown.tsx b/front/src/modules/ui/data/data-table/components/ColumnHeadWithDropdown.tsx index a1d4250d4..3c51c476a 100644 --- a/front/src/modules/ui/data/data-table/components/ColumnHeadWithDropdown.tsx +++ b/front/src/modules/ui/data/data-table/components/ColumnHeadWithDropdown.tsx @@ -32,8 +32,8 @@ export const ColumnHeadWithDropdown = ({ primaryColumnKey={primaryColumnKey} /> } + dropdownPlacement="bottom-start" dropdownHotkeyScope={{ scope: column.key + '-header' }} - dropdownOffset={{ x: 0, y: -8 }} /> );