JSFiddle - React, Tailwind, and code Playground

HTML

<div class="search">
  <select>
    <option>Search All</option>
    <option>Movies</option>
    <option>Books</option>
      <option>1</option>

      <option>123</option>

      <option>1234</option>

  </select>
</div>

JavaScript

var $search = $(".search");

setInterval(function() { 
    $search.find(":focus");
}, 300);