JqueryUI and bootstrap interference with dialog display

POOGLIES

I'm having problems getting jqueryUI and bootstrap to work together.

Example here https://jsfiddle.net/2hcwxudd/1/

My Code:

<div id="dialog" title="Welcome">
    <h1>Hello World</h1>
</div>

$(function () {
$("#dialog").dialog({
    show: {
        effect: "fold",
            duration: 500
        },

    });
});

You can see on the dialog show there is a small resize event at the end of the animation that looks horrible. I can't seem to figure out what's causing it or how to resolve it, but removing bootstrap resolves the problem.

I've tried noConflict (it's not the js its the css thats causing it), and i've tried using various themes which all seem to have the same problem.

Any help would be much appreciated

Rohan Kumar

This is due to box-sizing in bootstraping, you have to unset box-sizing property like,

.ui-dialog,.ui-dialog *{
    box-sizing:unset !important;
}

Demo

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Display twitter bootstrap confirm dialog pop up

From Dev

Bootstrap modal-dialog is not getting display

From Dev

Display twitter bootstrap confirm dialog pop up

From Dev

Bootstrap modal-dialog is not getting display

From Dev

jQueryUI Dialog Does Not Close

From Dev

jQueryUI dialog replacement for confirm?

From Dev

jQueryUI dialog replacement for confirm?

From Dev

Knockoutjs Custom bindig with jQueryUI Dialog

From Dev

JqueryUI - Dialog open multiple times

From Dev

Bootstrap and jQueryUI Conflict

From Dev

jQueryUI and Bootstrap buttons

From Dev

Bootstrap 4 + JQueryUI

From Dev

"Something" is breaking this jqueryui dialog. What is it?

From Dev

jQueryUI load page into DIV and into modal dialog

From Dev

Attach events to child controls in JQueryUI dialog

From Dev

loading jqueryUI dialog() function on WordPress page

From Dev

How to position a JQueryUI datepicker dialog via a MouseEvent

From Dev

Access jQueryUI Dialog buttons upon creation

From Dev

jQueryUI autocomplete working with dialog just once

From Dev

DIV Inside jQueryUI Dialog is overflowed after multiple resizes to the dialog

From Dev

jQueryUI Dialog Scroll Position Resets on Focus of Another Dialog

From Dev

jQueryUI Dialog Scroll Position Resets on Focus of Another Dialog

From Dev

How to display jqueryui validation error message in jqueryui tooltip

From Dev

Display dialog in fragment android

From Dev

Display dialog code not executing

From Dev

Display a Dialog in onClick

From Dev

Use a dialog to display a picture

From Dev

jqueryui slider not working inside bootstrap popover

From Dev

href in modal dialog in bootstrap

Related Related

HotTag

Archive