Skip to content

Commit

Permalink
Merge pull request #15486 from primefaces/issue-15485
Browse files Browse the repository at this point in the history
Fixed #15485 - Tooltip | Tooltip is out of position after dialog opens
  • Loading branch information
cetincakiroglu authored May 9, 2024
2 parents 2dd6a84 + a10a4bf commit faca375
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/app/components/tooltip/tooltip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,11 @@ export class Tooltip implements AfterViewInit, OnDestroy {
}

this.create();
this.align();

setTimeout(() => {
this.align();
}, 100);

DomHandler.fadeIn(this.container, 250);

if (this.getOption('tooltipZIndex') === 'auto') ZIndexUtils.set('tooltip', this.container, this.config.zIndex.tooltip);
Expand Down

0 comments on commit faca375

Please sign in to comment.