fix: only stop event propagation in MkEmoji and MkCustomEmoji when menu prop is passed
This commit is contained in:
@@ -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}:`,
|
||||
|
||||
Reference in New Issue
Block a user