Skip to content

Commit

Permalink
Fixed #15485 - Tooltip | Tooltip is out of position after dialog opens
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmetcetin01140 committed May 7, 2024
1 parent 665ce7b commit a10a4bf
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 @@ -421,7 +421,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 a10a4bf

Please sign in to comment.