fix: TypeError cannot read properties of undefined (reading 'queryselector') (#8671)
This commit is contained in:
@@ -1,5 +1,9 @@
|
|||||||
<template>
|
<template>
|
||||||
<mention-box :items="items" @mention-select="handleMentionClick">
|
<mention-box
|
||||||
|
v-if="items.length"
|
||||||
|
:items="items"
|
||||||
|
@mention-select="handleMentionClick"
|
||||||
|
>
|
||||||
<template slot-scope="{ item }">
|
<template slot-scope="{ item }">
|
||||||
<strong>{{ item.label }}</strong> - {{ item.description }}
|
<strong>{{ item.label }}</strong> - {{ item.description }}
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div
|
<div
|
||||||
v-if="items.length"
|
|
||||||
ref="mentionsListContainer"
|
ref="mentionsListContainer"
|
||||||
class="bg-white dark:bg-slate-800 rounded-md overflow-auto absolute w-full z-20 pb-0 shadow-md left-0 bottom-full max-h-[9.75rem] border border-solid border-slate-100 dark:border-slate-700 mention--box"
|
class="bg-white dark:bg-slate-800 rounded-md overflow-auto absolute w-full z-20 pb-0 shadow-md left-0 bottom-full max-h-[9.75rem] border border-solid border-slate-100 dark:border-slate-700 mention--box"
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user