popover-append-to-body 不起作用

popover-append-to-body doesn't work

我遇到了这样的问题:我在 AngularJS 中准备了一个弹出框,由 table 中排成一行的按钮 (ng-repeat) 触发。它有效,但是当我调整 window 的大小时,垂直方向我没有问题,相反,如果我向左或向右滚动,弹出窗口不会跟随触发它的按钮。

密码是

        <table ng-table="fondiTable" class="table table-condensed table-bordered table-striped" show-filter="isFiltersVisible">
            <tr ng-repeat="fondo in data">
                <td class="i9font text-center" data-title="'Rapporto'" header-class="'i9header'" filter="{rapporto: 'text'}" sortable="'rapporto'">{{::fondo | formatRapporto}}</td>
                <td class="i9font text-center" data-title="'Cdg'" header-class="'i9header'" filter="{cdg: 'text'}" sortable="'cdg'">{{::fondo.cdg | formatCdg}}</td>
                <td class="i9font text-center" data-title="'Log'" header-class="'i9header'">
                    <button type="button" class="btn btn-default btn-xs" 
                        uib-popover-template="'myPopoverTemplate'" popover-placement="bottom-right" popover-trigger="'outsideClick'" popover-append-to-body="true">
                            <span class="glyphicon glyphicon-info-sign"></span>
                    </button>                               
                </td>
            </tr>
        </table>

我在不同的问题中读到指令 "popover-append-to-body = 'true' " 可能是我的解决方案...但我没有找到正确的使用方法。 有人能帮我吗?

提前致谢

我认为他们会在下一个 bootstrap 的版本 (V4)

中解决这个问题

https://github.com/twbs/bootstrap/issues/12799