Make bootstrap popover overlap

后端 未结 1 810
野的像风
野的像风 2021-01-05 04:44

My problem is I am using bootstrap\'s popover for an image, using the hover as trigger, while at the same time, I\'m using the Smoothdivscroll (http://www.smoothdivscroll.co

相关标签:
1条回答
  • 2021-01-05 05:21

    Since some changes were made to the way the tooltips and popovers are included (see this commit), there has been bugs about overflowing elements.

    We could tweak your markup to make it work, with some overflow: visible but a fix will be available in the next version (2.3.0) as shown by this commit.

    Simply put, you can download the next version or apply the changes of the commit to your files to allow your popover to be used like that :

    $('.popover').popover({
        container: 'body'
    });
    

    Or use the data attibutes : data-container="body".

    0 讨论(0)
提交回复
热议问题