JSFiddle - React, Tailwind, and code Playground
HTML
<script src="https://code.jquery.com/ui/1.11.2/jquery-ui.js"></script>
<link rel="stylesheet" href="https://code.jquery.com/ui/1.9.2/themes/base/jquery-ui.css">
<input type="text" id="test"/>
CSS
.ui-autocomplete { height: 45px; overflow-y: scroll; overflow-x: hidden;}
JavaScript
$(function() {
$( "#test" ).autocomplete({ source: [ "test","test2","test3","test4"]});
});