Fix: Mention should not propagate click events
This commit is contained in:
parent
96715b1512
commit
7ece3268fc
@ -45,7 +45,7 @@
|
|||||||
</style>
|
</style>
|
||||||
|
|
||||||
{#if user}
|
{#if user}
|
||||||
<a class="mention" href="/users/{getNamedId(user.id, user.name)}">
|
<a class="mention" href="/users/{getNamedId(user.id, user.name)}" on:click={(e) => {e.stopPropagation();}}>
|
||||||
<slot />
|
<slot />
|
||||||
<div class="mentionBlock">
|
<div class="mentionBlock">
|
||||||
<span class="at">@</span>
|
<span class="at">@</span>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user