Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.

Commit

Permalink
fix overlay offset
Browse files Browse the repository at this point in the history
  • Loading branch information
hanchuyou committed Aug 2, 2023
1 parent 38ac924 commit bb22f04
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/components/Popover/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,16 @@ const Popover: React.FC<PopoverProps> = props => {
target={wrapper.current || null}
show={show}
onHide={handleHide}
popperConfig={{
modifiers:[
{
name: 'offset',
options: {
offset: [0, 11],
},
},
]
}}
>
<BasePopover
id="popover"
Expand Down

0 comments on commit bb22f04

Please sign in to comment.