Angular UI modal directive, backdrop missing

前端 未结 5 2122
梦谈多话
梦谈多话 2021-02-15 01:47

I have no backdrop when using the modal directive from UI Bootstrap http://angular-ui.github.io/bootstrap/. The modal itself is working.

I have tried with both the ui-b

5条回答
  •  鱼传尺愫
    2021-02-15 02:12

    There is a workaround you can do

    1- add this css class:

    .modal-backdrop{
    bottom: 0;
    position: fixed;
    }
    

    2- make sure the "window.html" template file included "ng-click" event

    
    

提交回复
热议问题