Bootstrap modal appearing under background

前端 未结 30 1394
离开以前
离开以前 2020-11-22 17:09

I have used the code for my modal straight from the Bootstrap example, and have included only the bootstrap.js (and not bootstrap-modal.js). However, my modal is appearing u

30条回答
  •  傲寒
    傲寒 (楼主)
    2020-11-22 17:26

    Also, make sure that version of BootStrap css and js are the same ones. Different versions can also make modal appearing under background:

    For example:

    Bad:

    
    
    

    Good:

    
    
    

提交回复
热议问题