ui bootstrap datepicker inside an accordion is not visible

这一生的挚爱 提交于 2019-12-11 01:53:48

问题


I am trying to do a module with a datepicker inside an accordion.

problem is the datepicker popup box is not visible over the accordion.

here is a plunker showing the problem :

http://plnkr.co/edit/jBqU0LXQFcUuzQLency2?p=preview

any idea on how i could make the dialog window appear over the accordion module ?

edit: with bootstrap 3, this is working :

.panel-group .panel {
    overflow: inherit;
}

回答1:


Add this css after the bootstrap.css link can fix it. This will override the CSS relating to position for each accordion-body.

<style type="text/css">
    .collapse {
        position: inherit;
    }
</style>



回答2:


This works for me Bootstrap version 3:

.panel-body {
  overflow: inherit !important;
}

my datepicker is in an accordion that is in a bootbox.



来源:https://stackoverflow.com/questions/18522042/ui-bootstrap-datepicker-inside-an-accordion-is-not-visible

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!