fix: tooltip with compoents add persistent (#5250)

This commit is contained in:
kooriookami 2022-01-09 17:38:51 +08:00 committed by GitHub
parent 5062ff106b
commit c2ee36a7fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 11 additions and 0 deletions

View File

@ -12,6 +12,7 @@
effect="light"
trigger="click"
transition="el-zoom-in-top"
persistent
@show="onSuggestionShow"
>
<div

View File

@ -11,6 +11,7 @@
effect="light"
trigger="click"
transition="el-zoom-in-top"
persistent
>
<template #content>
<div v-click-outside="hide">

View File

@ -18,6 +18,7 @@
append-to-body
pure
transition="el-zoom-in-top"
persistent
@show="$emit('visible-change', true)"
@hide="$emit('visible-change', false)"
>

View File

@ -18,6 +18,7 @@
"
:effect="Effect.DARK"
placement="right"
persistent
>
<template #content>
<slot name="title" />

View File

@ -8,6 +8,7 @@
append-to-body
:fallback-placements="['bottom', 'top', 'right', 'left']"
:hide-after="hideAfter"
persistent
>
<template #content>
<div class="el-popconfirm">

View File

@ -7,6 +7,7 @@
:enterable="enterable"
:popper-class="kls"
:popper-style="style"
persistent
>
<template v-if="$slots.reference">
<slot name="reference" />

View File

@ -22,6 +22,7 @@
pure
transition="el-zoom-in-top"
trigger="click"
persistent
@show="handleMenuEnter"
@hide="states.inputValue = states.displayInputValue"
>

View File

@ -18,6 +18,7 @@
transition="el-zoom-in-top"
:stop-popper-mouse-event="false"
:gpu-acceleration="false"
persistent
@show="handleMenuEnter"
>
<template #default>

View File

@ -24,6 +24,7 @@
:popper-class="tooltipClass"
:disabled="!showTooltip"
manual
persistent
>
<template #content>
<span>{{ formatValue }}</span>

View File

@ -10,6 +10,7 @@
effect="light"
pure
popper-class="el-table-filter"
persistent
>
<template #content>
<div v-if="multiple">

View File

@ -14,6 +14,7 @@
:gpu-acceleration="false"
:stop-popper-mouse-event="false"
:hide-after="0"
persistent
@show="pickerActualVisible = true"
@hide="pickerActualVisible = false"
>