JSFiddle - React, Tailwind, and code Playground

by Arijit Roy Chowdhruy

HTML

<div class="custom-select" style="height: 100px; width: 100px; background:red">
 
<select id="operator_select">
<option  value="1">1</option>
<option  value="2">2</option>
<select>
</div>

JavaScript

$(function(){
     $(".custom-select").click(function(){
       $(this).find('select').trigger('click');
       });
     });