mirror of
https://github.com/element-plus/element-plus.git
synced 2025-01-18 10:59:10 +08:00
fix: tooltip with compoents add persistent (#5250)
This commit is contained in:
parent
5062ff106b
commit
c2ee36a7fc
@ -12,6 +12,7 @@
|
||||
effect="light"
|
||||
trigger="click"
|
||||
transition="el-zoom-in-top"
|
||||
persistent
|
||||
@show="onSuggestionShow"
|
||||
>
|
||||
<div
|
||||
|
@ -11,6 +11,7 @@
|
||||
effect="light"
|
||||
trigger="click"
|
||||
transition="el-zoom-in-top"
|
||||
persistent
|
||||
>
|
||||
<template #content>
|
||||
<div v-click-outside="hide">
|
||||
|
@ -18,6 +18,7 @@
|
||||
append-to-body
|
||||
pure
|
||||
transition="el-zoom-in-top"
|
||||
persistent
|
||||
@show="$emit('visible-change', true)"
|
||||
@hide="$emit('visible-change', false)"
|
||||
>
|
||||
|
@ -18,6 +18,7 @@
|
||||
"
|
||||
:effect="Effect.DARK"
|
||||
placement="right"
|
||||
persistent
|
||||
>
|
||||
<template #content>
|
||||
<slot name="title" />
|
||||
|
@ -8,6 +8,7 @@
|
||||
append-to-body
|
||||
:fallback-placements="['bottom', 'top', 'right', 'left']"
|
||||
:hide-after="hideAfter"
|
||||
persistent
|
||||
>
|
||||
<template #content>
|
||||
<div class="el-popconfirm">
|
||||
|
@ -7,6 +7,7 @@
|
||||
:enterable="enterable"
|
||||
:popper-class="kls"
|
||||
:popper-style="style"
|
||||
persistent
|
||||
>
|
||||
<template v-if="$slots.reference">
|
||||
<slot name="reference" />
|
||||
|
@ -22,6 +22,7 @@
|
||||
pure
|
||||
transition="el-zoom-in-top"
|
||||
trigger="click"
|
||||
persistent
|
||||
@show="handleMenuEnter"
|
||||
@hide="states.inputValue = states.displayInputValue"
|
||||
>
|
||||
|
@ -18,6 +18,7 @@
|
||||
transition="el-zoom-in-top"
|
||||
:stop-popper-mouse-event="false"
|
||||
:gpu-acceleration="false"
|
||||
persistent
|
||||
@show="handleMenuEnter"
|
||||
>
|
||||
<template #default>
|
||||
|
@ -24,6 +24,7 @@
|
||||
:popper-class="tooltipClass"
|
||||
:disabled="!showTooltip"
|
||||
manual
|
||||
persistent
|
||||
>
|
||||
<template #content>
|
||||
<span>{{ formatValue }}</span>
|
||||
|
@ -10,6 +10,7 @@
|
||||
effect="light"
|
||||
pure
|
||||
popper-class="el-table-filter"
|
||||
persistent
|
||||
>
|
||||
<template #content>
|
||||
<div v-if="multiple">
|
||||
|
@ -14,6 +14,7 @@
|
||||
:gpu-acceleration="false"
|
||||
:stop-popper-mouse-event="false"
|
||||
:hide-after="0"
|
||||
persistent
|
||||
@show="pickerActualVisible = true"
|
||||
@hide="pickerActualVisible = false"
|
||||
>
|
||||
|
Loading…
Reference in New Issue
Block a user