How to reduce the size of React Select in v2

Darren Oster picture Darren Oster · Apr 16, 2018 · Viewed 22.1k times · Source

The new v2 react-select control is great, but by default is too large. Is there a (preferably) simple way to reduce the height to the same as a standard select control (using Bootstrap v3)?

Answer

ryanrain picture ryanrain · May 21, 2018

Try passing in a value for the maxMenuHeight prop:

<Select
  maxMenuHeight={190}
/>

see documentation