Height of dropdow
See original GitHub issueHey folks,
I’m trying to control the height of the dropdown, I’d like to use a small dropdown.
I found on README this menuBuffer
, but din’t work.
I solved this with CSS, see:
.Select-menu-outer * {
max-height: 95px;
}
I know, this is a mistake. Please, any idea?
Tks
Issue Analytics
- State:
- Created 8 years ago
- Reactions:7
- Comments:5
Top Results From Across the Web
How to Set Height for the Drop Down of Select box
How to Set Height for the Drop Down of Select box · I've never tried, but try adding 'size' attribute to the <select>....
Read more >Dropdown Height of Options | OutSystems
I am trying to find a way to limit the height of drop down by half. Actually a similar question came up and...
Read more >Setting Height and Width of DropDown Container - Infragistics
In this scenario you can set the height and width of the dropdown container using the DropDownContainerHeight and DropDownContainerWidth properties.
Read more >How to specify height of select drop down
Connect with: Hi, Is there a way I can specify the visible number of displayed items in a select drop down. i.e. for...
Read more >Dropdown Height - Ignition - Inductive Automation Forum
Hi, i'm looking for a way to increase the height of the dropdown menu in Perspective: I have a list of 90 object...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You can also override these two classes in your CSS file for the component:
.Select-menu-outer { max-height: 1000px; }
.Select-menu { max-height: 998px; }
Check out this issue: https://github.com/JedWatson/react-select/issues/316
You can import the base less file then override the heigh variable:
(using webpack)