Skip to content

Commit

Permalink
fix: the TimePicker overlay the AdhocFilter (#22234)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaoyongjie authored Nov 28, 2022
1 parent 22fab5e commit 0fdc520
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -343,13 +343,14 @@ export default function DateFilterLabel(props: DateFilterControlProps) {
{actualTimeRange}
</Label>
</Tooltip>
{/* the zIndex value is from trying so that the Modal doesn't overlay the AdhocFilter when GENERIC_CHART_AXES is enabled */}
<Modal
title={title}
show={show}
onHide={toggleOverlay}
width="600px"
hideFooter
zIndex={Number.MAX_SAFE_INTEGER}
zIndex={1030}
>
{overlayContent}
</Modal>
Expand Down

0 comments on commit 0fdc520

Please sign in to comment.