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:
parent
b49c92c568
commit
156f2fa50a
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue