From 5ee9ac2d8603ad1095a5ab7e83fb2e6d4d0928f7 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Thu, 2 Nov 2023 13:46:29 +0300 Subject: [PATCH] Refactor #4737 --- components/lib/tooltip/Tooltip.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lib/tooltip/Tooltip.js b/components/lib/tooltip/Tooltip.js index 2d9f0817b..62e0c0cf5 100755 --- a/components/lib/tooltip/Tooltip.js +++ b/components/lib/tooltip/Tooltip.js @@ -282,7 +282,7 @@ const Tooltip = BaseTooltip.extend('tooltip', { style: { display: 'inline-block', width: el.$_ptooltipFitContent ? 'fit-content' : undefined, - pointerEvents: el.$_ptooltipAutoHide && 'none' + pointerEvents: !this.isUnstyled() && el.$_ptooltipAutoHide && 'none' }, class: [!this.isUnstyled() && this.cx('root'), el.$_ptooltipClass], 'p-bind': this.ptm('root', {