From a10a4bf0f789f6d1bff3b62206cf2bd66b324dea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mehmet=20=C3=87etin?= <92744169+mehmetcetin01140@users.noreply.github.com> Date: Tue, 7 May 2024 16:05:42 +0300 Subject: [PATCH] Fixed #15485 - Tooltip | Tooltip is out of position after dialog opens --- src/app/components/tooltip/tooltip.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/app/components/tooltip/tooltip.ts b/src/app/components/tooltip/tooltip.ts index 043a70a7bc1..eee8895d709 100755 --- a/src/app/components/tooltip/tooltip.ts +++ b/src/app/components/tooltip/tooltip.ts @@ -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);