mirror of https://github.com/apache/superset.git
fix: Wrong positioning of filter tooltips on scroll (#24617)
This commit is contained in:
parent
d74d7eca23
commit
c53b249998
|
@ -204,6 +204,7 @@ const DescriptionToolTip = ({ description }: { description: string }) => (
|
|||
WebkitBoxOrient: 'vertical',
|
||||
textOverflow: 'ellipsis',
|
||||
}}
|
||||
getPopupContainer={trigger => trigger.parentElement as HTMLElement}
|
||||
>
|
||||
<i
|
||||
className="fa fa-info-circle text-muted"
|
||||
|
|
|
@ -365,7 +365,11 @@ export default function DateFilterLabel(props: DateFilterControlProps) {
|
|||
}
|
||||
destroyTooltipOnHide
|
||||
>
|
||||
<Tooltip placement="top" title={tooltipTitle}>
|
||||
<Tooltip
|
||||
placement="top"
|
||||
title={tooltipTitle}
|
||||
getPopupContainer={trigger => trigger.parentElement as HTMLElement}
|
||||
>
|
||||
<DateLabel
|
||||
label={actualTimeRange}
|
||||
isActive={show}
|
||||
|
@ -379,7 +383,11 @@ export default function DateFilterLabel(props: DateFilterControlProps) {
|
|||
|
||||
const modalContent = (
|
||||
<>
|
||||
<Tooltip placement="top" title={tooltipTitle}>
|
||||
<Tooltip
|
||||
placement="top"
|
||||
title={tooltipTitle}
|
||||
getPopupContainer={trigger => trigger.parentElement as HTMLElement}
|
||||
>
|
||||
<DateLabel
|
||||
onClick={toggleOverlay}
|
||||
label={actualTimeRange}
|
||||
|
|
Loading…
Reference in New Issue