本文介绍了如何显示隐藏在导航栏后面的弹出窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我是Bootstrap和Angular的新手.我的网页上有一个按钮,我正在为这样的跨度提供弹出式窗口
I am new to Bootstrap and Angular. In my webpage there is a button and i am providing a popover for a span like this
<span popover="Download Project History" popover-trigger="mouseenter" tooltip-placement="top" style="padding: 5px" translate="DOWNLOAD">DOWNLOAD</span>
但是它被隐藏在导航栏下.
But its getting hidden under navbar.
基于我的谷歌搜索,我发现在html元素中提供了data-container ="body".但是它也不起作用.
Based on my googling i found to provide data-container="body" in the html element. But its not working too.
有人可以帮助我吗?
谢谢
推荐答案
我遇到了类似的问题,即弹出窗口隐藏在溢出内容的后面,并添加了以下属性来对其进行修复:
I had a similar problem where the popover was hidden behind overflow content and adding the following attribute fixed it:
popover-append-to-body="true"
这篇关于如何显示隐藏在导航栏后面的弹出窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!