Bootstrap modal z-index

后端 未结 9 1234
时光说笑
时光说笑 2020-12-29 20:22

The issue is: I\'m using parrallx scrolling, so I have z-index in the page now when I try to popup a box-modal by Bootstrap I get him to look like this https://www.dropbox.c

9条回答
  •  说谎
    说谎 (楼主)
    2020-12-29 21:20

    I found this question as I had a similar problem. While data-backdrop does "solve" the issue; I found another problem in my markup.

    I had the button which launched this modal and the modal dialog itself was in the footer. The problem is that the footer was defined as navbar_fixed_bottom, and that contained position:fixed.

    After I moved the dialog outside of the fixed section, everything worked as expected.

提交回复
热议问题