0

I have followed the instruction on how to display the tooltip from https://valor-software.com/ngx-bootstrap/#/components/tooltip?tab=overview, however the tooltip seems not to get shown.

Namely, the tooltip is bound to this div:

1

But when I hover over the div it just gets elongated:

enter image description here

I have been trying to solve this for hours, but with no luck. My HTML is here:

  <div class="workflow-label"
       tooltip="{{phaseStateToTooltip(phase.state)}}"
       placement="top">

and the TooltipModule.forRoot() has been loaded at the root module (with TooltipModule at the module that contains the component). Do you have any idea what might go wrong? Note that Bootstrap is included in styles.scss and that popperjs core is added to package.json.

Many thanks!

2
  • Have you tried [tooltip]="phaseStateToTooltip(phase.state)"? Commented May 6, 2023 at 22:07
  • @Pieterjan, yes I did but unfortunately, no luck Commented May 7, 2023 at 14:56

1 Answer 1

0

It simply a matter of updating ngx bootstrap, the package had a bug.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.