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

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski
2024-04-08 09:36:12 +01:00
committed by GitHub
parent b49c92c568
commit 156f2fa50a

View File

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