mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 17:32:36 +00:00
Fixed #4737 - Tooltip: autoHide does not work properly
This commit is contained in:
parent
1d365fd480
commit
1448e92459
2 changed files with 2 additions and 3 deletions
|
@ -152,7 +152,6 @@ const Tooltip = BaseTooltip.extend('tooltip', {
|
|||
onMouseLeave(event) {
|
||||
const el = event.currentTarget;
|
||||
const hideDelay = el.$_ptooltipHideDelay;
|
||||
|
||||
const autoHide = el.$_ptooltipAutoHide;
|
||||
|
||||
if (!autoHide) {
|
||||
|
@ -282,7 +281,8 @@ const Tooltip = BaseTooltip.extend('tooltip', {
|
|||
role: 'tooltip',
|
||||
style: {
|
||||
display: 'inline-block',
|
||||
width: el.$_ptooltipFitContent ? 'fit-content' : undefined
|
||||
width: el.$_ptooltipFitContent ? 'fit-content' : undefined,
|
||||
pointerEvents: el.$_ptooltipAutoHide && 'none'
|
||||
},
|
||||
class: [!this.isUnstyled() && this.cx('root'), el.$_ptooltipClass],
|
||||
'p-bind': this.ptm('root', {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue