fix: only stop event propagation in MkEmoji and MkCustomEmoji when menu prop is passed

This commit is contained in:
tess 2024-05-06 23:59:42 +02:00
parent 83df1c0128
commit 19cba1a12a
2 changed files with 4 additions and 2 deletions

View file

@ -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}:`,