JSFiddle - React, Tailwind, and code Playground

by TJ VanToll

HTML

<!--
Problem does not occur with the base theme or a base custom theme.
<link rel="stylesheet" href="http://code.jquery.com/ui/1.9.1/themes/black-tie/jquery-ui.css" />
<link href="http://code.jquery.com/ui/1.9.1/themes/base/jquery-ui.css" rel="stylesheet" />
-->

<!-- Custom CSS causes the issue -->
<link rel="stylesheet" href="http://dev.lucason.nl/anytimemarketing/pms/assets/stylesheets/jquery_ui/jquery-ui-1.9.1.custom.min.css" type="text/css" />

<script src="http://code.jquery.com/jquery-1.8.2.js"></script>
<script src="http://code.jquery.com/ui/1.9.1/jquery-ui.js"></script>

<div id="dialog" style="display: none;">
    <input type="text" />
</div>

<button>Open</button>

JavaScript

$('button').click(function(e){
    e.preventDefault();
    
    $('#dialog').dialog({
        modal: true
    });
});