I am using the react select but the height of dropdown containing the options is too long. How do minimize it using either CSS or JavaScript?
Okay so I found the something that works. Put these classnames inside your select:
<Select
className="single-select"
classNamePrefix="react-select"
menuPlacement="auto"
maxMenuHeight={30}
/>
1 Like