Open TikshaK opened 6 months ago
To change dropdownContainer height, you need to change maxHeight using maxHeight
prop. (in case you want height greater than the default i.e. 200 as mentioed here).
After this, you can set custom height using dropDownContainerStyle
prop
<DropDownPicker
open={open}
...
maxHeight={400} // Now max height set from default to 400.
dropDownContainerStyle={{
height: 400, // if not provided it will be auto, it will max to maxHeight provided.
}}
...
/>
How do I change dropdownContainer height, it is fixed and not changing.