Skip to content

Commit

Permalink
Fixed #119: Column filter popup position.
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoineYANG committed Sep 15, 2022
1 parent 209188d commit 6b30954
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/rath-client/src/components/fieldFilter/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ import RangeSelection from './rangeSelection';
import SetSelection from './setSelection';



interface FieldFilterProps {
fid: string;
}

const FieldFilter: React.FC<FieldFilterProps> = props => {
const { fid } = props;
const buttonId = useId('filter-button');
Expand Down Expand Up @@ -81,6 +81,7 @@ const FieldFilter: React.FC<FieldFilterProps> = props => {
text={intl.get('common.filter')}
iconProps={{ iconName: 'filter' }}
onClick={toggleShowFilter}
id={buttonId}
/>
{
showFilterConfig && <Callout target={`#${buttonId}`}
Expand Down

0 comments on commit 6b30954

Please sign in to comment.