I saw the strange behavior of jQuery UI Dialog , but I can not understand:
- What is the problem? or
- What am I doing wrong here? or
- Is this a known bug?
The sequence of steps for replicating a problem:
- Open the jQuery UI dialog by clicking the New / More buttons.
- Then try resizing the dialog box vertically.
- You will see an anomaly that the width of the contents of the dialog box will decrease automatically, as a result of which a scroll bar appears in the dialog box.
EDIT: I see that if I remove the boot twitter from the page, the problem remains, but is not very noticeable. no matter why I can not remove twitter bootstrap from my page, because it is used in all other places of my current project.
Before recalibration

After recalibration

Here is my jQuery code. Please check out the JSFiddle here :
$(document).on("click", "#btnNew", function () { $("#popOutNewFolder").dialog({ show: "blind", hide: "blind", modal: true }); }); $(document).on("click", "#btnMore", function () { $("#popOutMoreFolder").dialog({ show: "blind", hide: "blind", modal: true }); });
jquery jquery-ui twitter-bootstrap-3
Khurram Hassan
source share