diff --git a/src/app/hooks/useMentionClickHandler.ts b/src/app/hooks/useMentionClickHandler.ts index f8f4bf545..49c291c72 100644 --- a/src/app/hooks/useMentionClickHandler.ts +++ b/src/app/hooks/useMentionClickHandler.ts @@ -14,6 +14,7 @@ export const useMentionClickHandler = (roomId: string): ReactEventHandler = useCallback( (evt) => { + evt.stopPropagation(); evt.preventDefault(); const target = evt.currentTarget; const mentionId = target.getAttribute('data-mention-id');