Skip to content

Commit

Permalink
RC #291 - Updating z-index of Modal component
Browse files Browse the repository at this point in the history
  • Loading branch information
dleadbetter committed Aug 13, 2024
1 parent 3ebb654 commit 4327240
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion packages/core-data/src/components/FacetTimeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,9 @@ const FacetTimeline = (props: Props) => {
>
<Slider.Thumb />
</Popover.Trigger>
<Popover.Portal>
<Popover.Portal
container={ref.current}
>
<Popover.Content
asChild
collisionBoundary={ref?.current}
Expand Down
2 changes: 1 addition & 1 deletion packages/core-data/src/components/Modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const Modal = (props: Props) => {
>
<Dialog.Overlay
className={clsx(
'fixed bg-black/70 inset-0 transition-opacity flex justify-center',
'fixed bg-black/70 inset-0 transition-opacity flex justify-center z-[100]',
{ 'items-center': props.centered },
{ 'overflow-auto': !props.scrolling }
)}
Expand Down

0 comments on commit 4327240

Please sign in to comment.