Bootstrap Modal - make background clickable without closing out modal

后端 未结 2 1713
孤城傲影
孤城傲影 2021-01-06 11:33

I would like to have a pop up dialog appear next to a form with guidance on how to fill out the form. Right now I am using a bootstrap modal.
The pop up works fine and l

2条回答
  •  长发绾君心
    2021-01-06 12:03

    Finally am able to click in the input fields and scroll through the background with a bootstrap modal on the screen. (still not working fully in IE)

    .modal-backdrop
      display: none !important
    #help
      margin-left: 50%
    .modal-backdrop
      display: none !important
    body.modal-open
      overflow: visible /* this line allowed form to be scrollable */
    .modal-body /* this section allowed form input-fields to be clickable */
      max-height: calc(100vh - 210px)
      overflow-y: auto
    

提交回复
热议问题