Draggable JS Bootstrap modal - performance issues

后端 未结 6 1237
感情败类
感情败类 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:38

    This does not exactly answer your questions, but you may try to disable the *-transition properties or decreasing the time value from the specified 0.3s. This is defined in .modal.fade. But this will mess with the initial pop-up animation too. If this is not acceptable, you may use the start event of the draggable widget to apply the new style.

提交回复
热议问题