【问题标题】:Bootstrap modal Hidden under Parent Components隐藏在父组件下的引导模式
【发布时间】:2017-12-19 09:03:55
【问题描述】:

我在 Angular 4 的子组件中使用引导模态,我可以看到模态但它被父组件隐藏。我增加了 z-index ,没有任何效果。

【问题讨论】:

    标签: angular modal-dialog parent-child


    【解决方案1】:

    尝试将 z-index 设置为重要:

    z-index: 10001!important;
    

    【讨论】:

    • 感谢像素位。它对我不起作用。它与我无法弄清楚的父子组件有关。
    猜你喜欢
    • 2021-08-04
    • 2018-02-06
    • 1970-01-01
    • 2015-10-29
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-09-10
    • 2014-07-03
    相关资源
    最近更新 更多