1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-13 05:39:59 +00:00

fix: view tool popover position (#6337)

Co-authored-by: 杨国璇 <ygx@Hello-word.local>
This commit is contained in:
杨国璇
2024-07-11 18:20:30 +08:00
committed by GitHub
parent 48f0ed4c6b
commit 1963e7538e
4 changed files with 4 additions and 3 deletions

View File

@@ -64,6 +64,7 @@ const FilterSetter = ({ columns,
/> />
{isShowSetter && {isShowSetter &&
<FilterPopover <FilterPopover
placement="bottom-end"
filtersClassName={filtersClassName} filtersClassName={filtersClassName}
target={target} target={target}
isNeedSubmit={isNeedSubmit} isNeedSubmit={isNeedSubmit}

View File

@@ -263,7 +263,7 @@ class GroupbyPopover extends Component {
hideArrow hideArrow
fade={false} fade={false}
target={target} target={target}
placement='auto-start' placement='bottom-end'
className='groupby-popover no-user-select' className='groupby-popover no-user-select'
boundariesElement={document.body} boundariesElement={document.body}
> >

View File

@@ -144,7 +144,7 @@ class HideColumnPopover extends React.Component {
const isEmpty = fieldSettings.length === 0 ? true : false; const isEmpty = fieldSettings.length === 0 ? true : false;
return ( return (
<UncontrolledPopover <UncontrolledPopover
placement='auto-start' placement='bottom-end'
isOpen={true} isOpen={true}
target={target} target={target}
fade={false} fade={false}

View File

@@ -240,7 +240,7 @@ class SortPopover extends Component {
const isEmpty = isSortsEmpty(sorts); const isEmpty = isSortsEmpty(sorts);
return ( return (
<UncontrolledPopover <UncontrolledPopover
placement="auto-start" placement="bottom-end"
isOpen={true} isOpen={true}
target={target} target={target}
fade={false} fade={false}