fix: only stop event propagation in MkEmoji and MkCustomEmoji when menu prop is passed
This commit is contained in:
parent
83df1c0128
commit
19cba1a12a
2 changed files with 4 additions and 2 deletions
|
|
@ -85,6 +85,7 @@ const errored = ref(url.value == null);
|
|||
|
||||
function onClick(ev: MouseEvent) {
|
||||
if (props.menu) {
|
||||
ev.stopPropagation();
|
||||
os.popupMenu([{
|
||||
type: 'label',
|
||||
text: `:${props.name}:`,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue