JSFiddle - React, Tailwind, and code Playground

by senyahnoj

HTML

<script src="https://code.jquery.com/ui/1.11.0/jquery-ui.min.js"></script>
<link rel="stylesheet" href="https://code.jquery.com/ui/1.11.0/themes/smoothness/jquery-ui.css">
This demonstrates a bug in IE 11. Click over the second input field ('Date'). 

Once you've chosen a date the input will be populated and datepicker widget will close.

In IE the datepicker widget automatically opens again.

<div id="form">
    <div>First field:</div>
    <input />
    <div>Date field</div>
    <input id="tp" />
</div>

JavaScript

$('#tp').datepicker();
$('#form').dialog({
    modal: true
});