Skip to content

Commit

Permalink
fix: Tooltip covers the date selector in native filters (apache#31472)
Browse files Browse the repository at this point in the history
  • Loading branch information
kgabryje authored Dec 16, 2024
1 parent 8be69aa commit 9b28a6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,6 @@ const DescriptionToolTip = ({ description }: { description: string }) => (
textOverflow: 'ellipsis',
whiteSpace: 'normal',
}}
getPopupContainer={trigger => trigger.parentElement as HTMLElement}
>
<i
className="fa fa-info-circle text-muted"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -379,11 +379,7 @@ export default function DateFilterLabel(props: DateFilterControlProps) {
}
destroyTooltipOnHide
>
<Tooltip
placement="top"
title={tooltipTitle}
getPopupContainer={trigger => trigger.parentElement as HTMLElement}
>
<Tooltip placement="top" title={tooltipTitle}>
<DateLabel
name={name}
aria-labelledby={`filter-name-${props.name}`}
Expand All @@ -400,11 +396,7 @@ export default function DateFilterLabel(props: DateFilterControlProps) {

const modalContent = (
<>
<Tooltip
placement="top"
title={tooltipTitle}
getPopupContainer={trigger => trigger.parentElement as HTMLElement}
>
<Tooltip placement="top" title={tooltipTitle}>
<DateLabel
name={name}
aria-labelledby={`filter-name-${props.name}`}
Expand Down

0 comments on commit 9b28a6e

Please sign in to comment.