Bootstrap tooltip doesn't show style of the tooltip, only data

前端 未结 11 1663
礼貌的吻别
礼貌的吻别 2021-02-05 06:13

Trying to make Bootstrap show the tooltip function, I have followed exactly as Bootstrap DOC about Tooltips and declare my attribute and properties. when I hover over the text t

11条回答
  •  离开以前
    2021-02-05 07:14

    In my case using AngularJS, even all css/js scripts were sequenced/invoked properly but still wasn't showing.

    The issue was it's under from a tag with "ng-if" attribute. After I placed it outside from that tag It works fine.

    Maybe there's a slight delay with AngularJS rendering the elements with "ng-if" while jquery is initialising the tooltip.

提交回复
热议问题