File tree Expand file tree Collapse file tree
projects/igniteui-angular/directives/src/directives/tooltip Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -689,6 +689,9 @@ export class IgxTooltipTargetDirective extends IgxToggleActionDirective implemen
689689 this . _renderer . appendChild ( this . target . element , this . _closeButtonRef . location . nativeElement ) ;
690690 this . _closeButtonRef . changeDetectorRef . detectChanges ( ) ;
691691 this . target . role = "status"
692+ // Mark the tooltip directive as Dirty to ensure that
693+ // the CD refreshes the bindings
694+ this . target . cdr ?. markForCheck ( ) ;
692695 }
693696 }
694697
@@ -700,6 +703,9 @@ export class IgxTooltipTargetDirective extends IgxToggleActionDirective implemen
700703 this . _renderer . removeChild ( this . target . element , this . _closeButtonRef . location . nativeElement ) ;
701704 this . _closeButtonRef . changeDetectorRef . detectChanges ( ) ;
702705 this . target . role = "tooltip"
706+ // Mark the tooltip directive as Dirty to ensure that
707+ // the CD refreshes the bindings
708+ this . target . cdr ?. markForCheck ( ) ;
703709 }
704710 }
705711
You can’t perform that action at this time.
0 commit comments