Fix Issue 2127: DataTable column head menu is badly positioned (#2135)

* update dropdownPlacement and dropdownOffset

* use default position
This commit is contained in:
David Pham
2023-10-20 22:44:22 +07:00
committed by GitHub
parent cb6ee90fa6
commit eea7470571

View File

@ -32,8 +32,8 @@ export const ColumnHeadWithDropdown = ({
primaryColumnKey={primaryColumnKey}
/>
}
dropdownPlacement="bottom-start"
dropdownHotkeyScope={{ scope: column.key + '-header' }}
dropdownOffset={{ x: 0, y: -8 }}
/>
</DropdownScope>
);