From 908985bdc69b9ad57bb0881e1b81a4e52faee74d Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sat, 19 Nov 2022 20:15:32 -0600 Subject: [PATCH] AutosuggestAccount: let account be clicked --- .../features/compose/components/autosuggest-account.tsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/app/soapbox/features/compose/components/autosuggest-account.tsx b/app/soapbox/features/compose/components/autosuggest-account.tsx index 511d65fe6..54ab072c8 100644 --- a/app/soapbox/features/compose/components/autosuggest-account.tsx +++ b/app/soapbox/features/compose/components/autosuggest-account.tsx @@ -14,7 +14,14 @@ const AutosuggestAccount: React.FC = ({ id }) => { if (!account) return null; - return ; + return ( +
+ {/* HACK: The component stops click events, so insert this div as something to click. */} +
+ + +
+ ); };