Skip to content

Commit

Permalink
Fiks for 3.13 fra #1267
Browse files Browse the repository at this point in the history
  • Loading branch information
Remi749 committed Oct 31, 2023
1 parent 77626b2 commit d07cab7
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,13 +127,17 @@ export const DetailsPopover: FC<IDetailsPopoverProps> = (props) => {

return (
<Popover
withArrow
open={props.open}
onOpenChange={(_, data) => {
if (!data.open) {
props.onDismiss()
}
}}
positioning={{ target: props.timelineItem?.element }}
positioning={{
target: props.timelineItem?.element,
overflowBoundary: document.getElementsByClassName('rct-scroll')[0] as HTMLElement,
}}
>
<PopoverSurface className={styles.detailsPopover}>
<div className={styles.calloutHeader}>
Expand Down

0 comments on commit d07cab7

Please sign in to comment.