Fix room topic in-app links not being handled correctly on topic dialog (#12406)

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/28217/head
Michael Telatynski 2024-04-08 09:36:12 +01:00 committed by GitHub
parent b49c92c568
commit 156f2fa50a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -82,7 +82,8 @@ export default function RoomTopic({ room, className, ...props }: IProps): JSX.El
<Linkify <Linkify
options={{ options={{
attributes: { attributes: {
onClick() { onClick(e: React.MouseEvent<HTMLDivElement>) {
onClick(e);
modal.close(); modal.close();
}, },
}, },