|
1 | 1 | import { withHeadless } from '@primereact/core/headless'; |
2 | 2 | import { usePlacer } from '@primereact/headless/placer'; |
3 | 3 | import { useUnmountEffect } from '@primereact/hooks/use-unmount-effect'; |
4 | | -import { addStyle, isClient } from '@primeuix/utils/dom'; |
| 4 | +import { isClient } from '@primeuix/utils/dom'; |
5 | 5 | import { ZIndex } from '@primeuix/utils/zindex'; |
6 | 6 | import { useTooltipGroupContext } from 'primereact/tooltip/group'; |
7 | 7 | import * as React from 'react'; |
@@ -320,7 +320,7 @@ export const useTooltip = withHeadless({ |
320 | 320 |
|
321 | 321 | if (!container) return; |
322 | 322 |
|
323 | | - addStyle(container, { opacity: '' }); |
| 323 | + //addStyle(container, { opacity: '' }); |
324 | 324 | }; |
325 | 325 |
|
326 | 326 | const onBeforeEnter = () => { |
@@ -363,15 +363,15 @@ export const useTooltip = withHeadless({ |
363 | 363 |
|
364 | 364 | if (!content) return; |
365 | 365 |
|
366 | | - addStyle(content, { opacity: '1', transform: 'scale(1)' }); |
| 366 | + //addStyle(content, { opacity: '1', transform: 'scale(1)' }); |
367 | 367 | }; |
368 | 368 |
|
369 | 369 | const onContentLeave = () => { |
370 | 370 | const content = getContent(); |
371 | 371 |
|
372 | 372 | if (!content) return; |
373 | 373 |
|
374 | | - addStyle(content, { opacity: '0', transform: 'scale(0.95)' }); |
| 374 | + //addStyle(content, { opacity: '0', transform: 'scale(0.95)' }); |
375 | 375 | }; |
376 | 376 |
|
377 | 377 | const bindOutsideClickListener = () => { |
|
0 commit comments