Draggable JS Bootstrap modal - performance issues

后端 未结 6 1155
感情败类
感情败类 2021-02-02 02:59

For a project at work we use Bootstrap Modal windows in JavaScript. We would like to make some of the windows movable, but we are running into performance issues with JQuery.

6条回答
  •  无人共我
    2021-02-02 03:24

    I found that at bootstrap 3 I had to override these css properties of the modal dialog:

    .modal
    {
        overflow: hidden;
        bottom: auto;
        right: auto;
    }
    .modal-dialog{
        margin-right: 0;
        margin-left: 0;
    }
    

    Fiddle

    Full screen demo

提交回复
热议问题