1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-16 15:19:06 +00:00

13.0 change dir operation dropdown menu (#7579)

This commit is contained in:
Michael An
2025-03-10 17:37:48 +08:00
committed by GitHub
parent 5aefc8373c
commit eabb0faed5

View File

@@ -326,7 +326,7 @@ class DirOperationToolbar extends React.Component {
<span className="mr-auto">{item.text}</span>
<i className="sf3-font-down sf3-font rotate-270"></i>
</DropdownToggle>
<DropdownMenu>
<DropdownMenu flip={false} modifiers={[{ name: 'preventOverflow', options: { boundary: document.body } }]}>
{item.subOpList.map((item, index) => {
if (item == 'Divider') {
return <DropdownItem key={index} divider />;