1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-21 11:27:18 +00:00

fix reactstrap 9.x DropdownMenu style (#7472)

This commit is contained in:
Michael An
2025-02-17 17:02:02 +08:00
committed by GitHub
parent 79413cb4fd
commit ef8cd06f72
11 changed files with 21 additions and 24 deletions

View File

@@ -21,10 +21,9 @@ const HeaderDropdownMenu = ({ column, ColumnDropdownMenu, customProps }) => {
const renderDropdownMenu = useCallback(() => {
return (
<DropdownMenu
positionFixed={true}
flip={false}
modifiers={[{ name: 'preventOverflow', options: { boundary: document.body } }]}
className="sf-table-dropdown-menu"
className="sf-table-dropdown-menu position-fixed"
>
{cloneElement(ColumnDropdownMenu, { column, ...customProps })}
</DropdownMenu>