Merge branch 'autosuggest-profiles-fix' into 'develop'
AutosuggestAccount: let account be clicked See merge request soapbox-pub/soapbox!1923
This commit is contained in:
commit
9df92e91e7
1 changed files with 8 additions and 1 deletions
|
@ -14,7 +14,14 @@ const AutosuggestAccount: React.FC<IAutosuggestAccount> = ({ id }) => {
|
|||
|
||||
if (!account) return null;
|
||||
|
||||
return <Account account={account} hideActions showProfileHoverCard={false} />;
|
||||
return (
|
||||
<div className='relative'>
|
||||
{/* HACK: The <Account> component stops click events, so insert this div as something to click. */}
|
||||
<div className='absolute inset-0' />
|
||||
|
||||
<Account account={account} showProfileHoverCard={false} withLinkToProfile={false} hideActions />
|
||||
</div>
|
||||
);
|
||||
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue