Question Details

No question body available.

Tags

angular typescript ngx-bootstrap angular18

Answers (1)

March 15, 2026 Score: 0 Rep: 10,747 Quality: Medium Completeness: 80%

So, you're using multiple instances, but you're referencing only the first directive instance, hence the behavior here.

@ViewChild(TooltipDirective) tooltip?: TooltipDirective; @ViewChild(TooltipDirective) tooltip2?: TooltipDirective;

So, instead, you need to reference each instance, which can be done by adding template reference to each tooltip: