From 0051fd8eec7bb3b620b02e7a09f62626dcb4b5d7 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Mon, 30 May 2022 14:50:10 -0500 Subject: [PATCH] PrivacyDropdown: fix Overlay target --- app/soapbox/features/compose/components/privacy_dropdown.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/soapbox/features/compose/components/privacy_dropdown.tsx b/app/soapbox/features/compose/components/privacy_dropdown.tsx index 3e3440ae4..a155484b4 100644 --- a/app/soapbox/features/compose/components/privacy_dropdown.tsx +++ b/app/soapbox/features/compose/components/privacy_dropdown.tsx @@ -156,6 +156,7 @@ const PrivacyDropdown: React.FC = ({ unavailable, }) => { const intl = useIntl(); + const node = useRef(null); const activeElement = useRef(null); const [open, setOpen] = useState(false); @@ -235,7 +236,7 @@ const PrivacyDropdown: React.FC = ({ const valueOption = options.find(item => item.value === value); return ( -
+
= ({ />
- +