Skip to content

Commit

Permalink
fixed #15485
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmetcetin01140 committed May 10, 2024
1 parent bcca799 commit 3ae8f31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/tooltip/tooltip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ export class Tooltip implements AfterViewInit, OnDestroy {
this.create();

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

DomHandler.fadeIn(this.container, 250);
Expand Down

2 comments on commit 3ae8f31

@Alextremeee
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is still causing me issues, create() runs synchronously which appends any content to the DOM, but you're now deferring align() which styles it. So I get flashing of unrendered content depending on what I have the appendTo on the tooltip set to.

@VolodymyrKornetskyi
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have the same issue. scroll blinking on show/hide tooltip and throw error "Cannot read properties of null (reading 'style')" in console. Please help

Please sign in to comment.