refactor(client): explicit showing
property for tooltips (#9368)
This commit is contained in:

committed by
GitHub

parent
049373de3b
commit
1b6473ac27
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<MkTooltip ref="tooltip" :target-element="targetElement" :max-width="340" @closed="emit('closed')">
|
||||
<MkTooltip ref="tooltip" :showing="showing" :target-element="targetElement" :max-width="340" @closed="emit('closed')">
|
||||
<div class="beeadbfb">
|
||||
<XReactionIcon :reaction="reaction" :custom-emojis="emojis" class="icon" :no-style="true"/>
|
||||
<div class="name">{{ reaction.replace('@.', '') }}</div>
|
||||
@@ -12,7 +12,8 @@ import { } from 'vue';
|
||||
import MkTooltip from './MkTooltip.vue';
|
||||
import XReactionIcon from '@/components/MkReactionIcon.vue';
|
||||
|
||||
const props = defineProps<{
|
||||
defineProps<{
|
||||
showing: boolean;
|
||||
reaction: string;
|
||||
emojis: any[]; // TODO
|
||||
targetElement: HTMLElement;
|
||||
|
Reference in New Issue
Block a user