I use jQuery "Selected drop-down lists" and have a problem when the drop-down menu appears inside a modal form, which it cuts and only partially displays, although the parent div for the selected select has the css property overflow: visible

Usually when I use the default selection without any style, it works well

Perhaps someone has the same problem or can provide any solution?
HTML:
<div class="addNewLicense" style="overflow:visible;">
<table>
<tr>
<td>
<span>Start date: </span>
</td>
<td>
<input type="text" id="startLicenseDate" placeholder="Start Date..." style="width: 200px; height: 24px;" />
</td>
</tr>
<tr>
<td>
<span>End date: </span>
</td>
<td>
<input type="text" id="endLicenseDate" placeholder="End Date..." style="width: 200px; height: 24px;" />
</td>
</tr>
<tr>
<td>
<span>State Name: </span>
</td>
<td>
<select id="stateLicenseSelect" style="width: 205px; height: 30px;">
</select>
</td>
</tr>
</table>
JavaScript:
$("#stateLicenseSelect").chosen({ width: "200px", disable_search: true });
$(".addNewLicense").dialog('open');
source
share