From bb22f0452efe36dcff1c2e155cf002140063e7d9 Mon Sep 17 00:00:00 2001 From: hanchuyou Date: Wed, 2 Aug 2023 15:20:13 +0800 Subject: [PATCH] fix overlay offset --- src/components/Popover/index.tsx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/components/Popover/index.tsx b/src/components/Popover/index.tsx index 0c754e30..5084750b 100644 --- a/src/components/Popover/index.tsx +++ b/src/components/Popover/index.tsx @@ -69,6 +69,16 @@ const Popover: React.FC = props => { target={wrapper.current || null} show={show} onHide={handleHide} + popperConfig={{ + modifiers:[ + { + name: 'offset', + options: { + offset: [0, 11], + }, + }, + ] + }} >