I am using tool tip inside table. Here is code.
<td [tooltip]="reason.value"
container="body">
{{reasonFieldWrapper(reason.value)}}
</td>
But after running project tooltip is not appending to the body, it is appending to the td.
Here is element tree after rendering.

Just solved this issue my self using <span > tag inside <td>. Like this
<td>
<span [tooltip]="reason.value"
container="body">{{reasonFieldWrapper(reason.value)}}</span>
</td>
But I don't know why it is working and why <td> is not working. Anyone please help. Thanks.
It is very interesting! Holder element should not affect logic, hm
Even if I use <span> tag or <td> for it, <tooltip> is not appending to <body>. Is it related with Component in Angular2? Why it does not find out <body> Correctly?
I use <span> tag because it makes table Stable when showing tooltip.
If there is anyway to append tooltip to <body> please let me know thanks.
ng2 bootstrap version?
"ng2-bootstrap": "^1.1.16"
This is this the issue, please update to ng v2.3+ and latest ng2 bootstrap
closing this, because container="body" was added in 1.2+
if you will have any additional questions drop me a note
Thank you very much! Its working.
awesome! glad to hear it
it works same way for popovers, and will work for all other popup components later
Cool Stuff. Will definitely use this component.
Still its not working with version 1.6.6 as well.
it was so long ago...
latest version is 1.9.3 https://valor-software.com/ngx-bootstrap/#/
and @next version is beta.7 already
works in both of them http://ngx-bootstrap.surge.sh/#/
Most helpful comment
it was so long ago...
latest version is 1.9.3 https://valor-software.com/ngx-bootstrap/#/
and @next version is beta.7 already
works in both of them http://ngx-bootstrap.surge.sh/#/