Refactor #4737
parent
1448e92459
commit
5ee9ac2d86
|
@ -282,7 +282,7 @@ const Tooltip = BaseTooltip.extend('tooltip', {
|
||||||
style: {
|
style: {
|
||||||
display: 'inline-block',
|
display: 'inline-block',
|
||||||
width: el.$_ptooltipFitContent ? 'fit-content' : undefined,
|
width: el.$_ptooltipFitContent ? 'fit-content' : undefined,
|
||||||
pointerEvents: el.$_ptooltipAutoHide && 'none'
|
pointerEvents: !this.isUnstyled() && el.$_ptooltipAutoHide && 'none'
|
||||||
},
|
},
|
||||||
class: [!this.isUnstyled() && this.cx('root'), el.$_ptooltipClass],
|
class: [!this.isUnstyled() && this.cx('root'), el.$_ptooltipClass],
|
||||||
'p-bind': this.ptm('root', {
|
'p-bind': this.ptm('root', {
|
||||||
|
|
Loading…
Reference in New Issue