DropDownMenu has a maxHeight property described as "The maximum height of the Menu when it is displayed".
AutoComplete has a similar Menu that I think would be awesome have this same property.
To be more clear I am trying avoid that the floating menu fills all page's height when dataSource is bigger than the examples given in the docs.
an alternative way, just add this:
menuStyle={{maxHeight:"30vh"}}
@Fauny Thanks for the tip ;)
Picked up with #3194. Thanks for the suggestion! :+1:
@Fauny This doesn't seem to work for me. Where would you put that? I'm trying to put it on <AutoComplete /> but it doesn't seem to make a difference. Using [email protected] so wondering if it is a version difference?
This @Fauny . Thank you!
Most helpful comment
an alternative way, just add this:
menuStyle={{maxHeight:"30vh"}}